[Bug 1619238] Re: #cloud-config in user.user-data not running without ip
** Changed in: lxc (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1619238 Title: #cloud-config in user.user-data not running without ip To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1619238/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1619238] Re: #cloud-config in user.user-data not running without ip
There is a LXD property which should have it update the relevant files for you. lxc config set user.network_mode link-local Setting that prior to the first container startup should fix your problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1619238 Title: #cloud-config in user.user-data not running without ip To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1619238/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1619238] Re: #cloud-config in user.user-data not running without ip
cloud-init in LXD triggers after network is up, so indeed, in your case it won't run. Your problem is that you have the network defined as DHCP so this will hang your boot and cloud-init. If you had /etc/network/interfaces (or the new cloud-init network-data stuff) marked as "manual", then the network configuration step wouldn't hang and cloud-init would run. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1619238 Title: #cloud-config in user.user-data not running without ip To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1619238/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1619238] Re: #cloud-config in user.user-data not running without ip
I realize this might be a cloud-init issue, some input here that nothing from the lxd/lxc side is affecting the cloud-init would be appreciated. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1619238 Title: #cloud-config in user.user-data not running without ip To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1619238/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1619238] Re: #cloud-config in user.user-data not running without ip
lxc version 2.0.4 lxd --version 2.0.4 on an up to date Ubuntu 16.04 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1619238 Title: #cloud-config in user.user-data not running without ip To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1619238/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs