Hi all - I am currently in a situation where my juju deployment host and MAAS host (thus DHCP/DNS) are down and I won’t be able to power them back on for a few days.
I have manually added entries to /etc/hosts on all of my bare metal machines (so that OpenStack services can resolve names absent the DNS server) but I cannot login to my LXC instances in order to modify /etc/hosts. For whatever reason the keys aren’t in place to directly ssh into each LXC instance from my bare-metal machines. The only option I have is to lxc-console directly into each instance, where I am presented with a login prompt. Is there a default user/pass for these Ubuntu LXC instances deployed by juju (via MAAS?) or some way to inject a file (e.g. replace/mod /etc/hosts) into the container? It appears as though I could just modify /var/lib/lxc/<container>/rootfs/etc/hosts directly, but that seems like it might cause consistency issues? Or maybe doing that followed by an `lxc-stop —name <container> -r` will reboot the container and it will Just Work? Thanks, Jeff
-- Juju mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
