On 09/14/2011 10:27 PM, Serge E. Hallyn wrote: > Otherwise you get 'lxc.utsname =' in config, instead of the > actual hostname being filled in. > > https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/850205 > > Index: lxc/src/lxc/lxc-clone.in
Hi Serge, I was not able to apply this patch, it fails with: dlezcano@monster:~/work/src/lxc$ quilt push -f Applying patch lxc-users-define-$hostname-before-its-first-use.patch patching file src/lxc/lxc-clone.in Hunk #1 succeeded at 147 (offset 10 lines). Hunk #2 FAILED at 186. 1 out of 2 hunks FAILED -- saving rejects to file src/lxc/lxc-clone.in.rej Applied patch lxc-users-define-$hostname-before-its-first-use.patch (forced; needs refresh) dlezcano@monster:~/work/src/lxc$ cat src/lxc/lxc-clone.in.rej --- src/lxc/lxc-clone.in 2011-09-14 15:04:30.459058616 -0500 +++ src/lxc/lxc-clone.in 2011-09-14 15:05:17.179057825 -0500 @@ -186,7 +188,6 @@ fi echo "Updating rootfs..." -hostname=$lxc_new # so you can 'ssh $hostname.' or 'ssh $hostname.local' if [ -f $rootfs/etc/dhcp/dhclient.conf ]; then ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Lxc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lxc-users
