juju run --service rabbit 'cat /etc/hosts'
- MachineId: "10"
Stderr: "Warning: Permanently added '10.0.3.234' (ECDSA) to the list of known hosts.\r\n"
Stdout: |
127.0.0.1 localhost
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
10.0.3.194 freyes-lxc-machine-8
10.0.3.204 freyes-lxc-machine-9
UnitId: rabbit/2
- MachineId: "8"
Stderr: "Warning: Permanently added '10.0.3.194' (ECDSA) to the list of known hosts.\r\n"
Stdout: |
127.0.0.1 localhost
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
10.0.3.204 freyes-lxc-machine-9
10.0.3.234 freyes-lxc-machine-10
UnitId: rabbit/0
- MachineId: "9"
Stderr: "Warning: Permanently added '10.0.3.204' (ECDSA) to the list of known hosts.\r\n"
Stdout: |
127.0.0.1 localhost
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
10.0.3.194 freyes-lxc-machine-8
10.0.3.234 freyes-lxc-machine-10
UnitId: rabbit/1
Works as expected. Thanks @niedbalski.
juju run --service rabbit 'cat /etc/hosts'
- MachineId: "10"
Stderr: "Warning: Permanently added '10.0.3.234' (ECDSA) to the list of known hosts.\r\n"
Stdout: |
127.0.0.1 localhost
# The following lines are desirable for IPv6 capable hosts lxc-machine- 8 lxc-machine- 9
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
10.0.3.194 freyes-
10.0.3.204 freyes-
UnitId: rabbit/2
- MachineId: "8"
Stderr: "Warning: Permanently added '10.0.3.194' (ECDSA) to the list of known hosts.\r\n"
Stdout: |
127.0.0.1 localhost
# The following lines are desirable for IPv6 capable hosts lxc-machine- 9 lxc-machine- 10
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
10.0.3.204 freyes-
10.0.3.234 freyes-
UnitId: rabbit/0
- MachineId: "9"
Stderr: "Warning: Permanently added '10.0.3.204' (ECDSA) to the list of known hosts.\r\n"
Stdout: |
127.0.0.1 localhost
# The following lines are desirable for IPv6 capable hosts lxc-machine- 8 lxc-machine- 10
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
10.0.3.194 freyes-
10.0.3.234 freyes-
UnitId: rabbit/1