]> git.proxmox.com Git - mirror_lxc.git/commit
lxc-fedora template. Cleanup for rootfs.
authorMichael H. Warfield <mhw@WittsEnd.com>
Tue, 21 May 2013 18:17:25 +0000 (14:17 -0400)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 22 May 2013 01:32:24 +0000 (20:32 -0500)
commit5bb4a226ebec9f3fb678a282a2b2833748d6707b
tree6ba28f609df0cf68d5cb06765e6058f423bdc5ff
parent65be441e0892b45000b9b3863d407539e56e47a4
lxc-fedora template. Cleanup for rootfs.

This is just some minor changes in the way the Fedora template is
synthesizing the target rootfs_path.  Currently, the template uses a
path with the container in it twice like this:

/var/lib/lxc/rasputin/rasputin/rootfs

This happens because the container name is already contained in the
"path" and the template appends it a second time.  This changes the
logic to be congruent with other templates such as lxc-arch.  The new
behavior will be to create the rootfs like this:

/var/lib/lxc/rasputin/rootfs

Attached below the jump.

Regards,
Mike
--
Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw@WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!
--

Signed-off-by: Michael H. Warfield <mhw@WittsEnd.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
templates/lxc-fedora.in