[Bug 1619238] Re: #cloud-config in user.user-data not running without ip

2020-03-25 Thread Stéphane Graber via ubuntu-bugs
** 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

2016-09-01 Thread Stéphane Graber
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

2016-09-01 Thread Stéphane Graber
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

2016-09-01 Thread Hlini Melsteð Jóngeirsson
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

2016-09-01 Thread Hlini Melsteð Jóngeirsson
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