[openstack-dev] question regarding disk image builder

Ravikanth Samprathi rsamprat at gmail.com
Tue Oct 22 03:11:23 UTC 2013


Hi Folks

I'm using DiB to create an ubuntu 12.04 image where dhcp is enabled on all
interfaces, and .ssh/authorized_keys is copied



$ bin/disk-image-create -a amd64 -o u1204.am d64.custom ubuntu local-config
dhcp-all-interfaces



I see DiB printing these messages indicating it worked as expected



dib-run-parts Mon Oct 21 21:10:41 UTC 2013 Running
/tmp/in_target.d/install.d/50-dhcp-all-interfaces

+ dirname /tmp/in_target.d/install.d/50-dhcp-all-interfaces

+ SCRIPTDIR=/tmp/in_target.d/install.d

+ [ -d /etc/init ]

+ install -D -g root -o root -m 0755

/tmp/in_target.d/install.d/generate-interfaces-file.sh

/usr/local/sbin/generate-interfaces-file.sh

+ install -D -g root -o root -m 0755

/tmp/in_target.d/install.d/dhcp-all-interfaces.conf

/etc/init/dhcp-all-interfaces.conf

dib-run-parts Mon Oct 21 21:10:41 UTC 2013 50-dhcp-all-interfaces completed



dib-run-parts Mon Oct 21 21:10:41 UTC 2013 62-ssh-key completed



But when the baremetal node boots up, the interfaces still don't have dhcp
enabled. I see this in the BM node's console when cloud-init starts.



How can I troubleshoot this?
Thanks
Ravi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131021/46095fd9/attachment.html>


More information about the OpenStack-dev mailing list