install lxcguest when NOT trimming the container

Signed-off-by: Serge Hallyn <serge.hal...@ubuntu.com>
---
 templates/lxc-ubuntu.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/templates/lxc-ubuntu.in b/templates/lxc-ubuntu.in
index 92fff86..60f5ae3 100644
--- a/templates/lxc-ubuntu.in
+++ b/templates/lxc-ubuntu.in
@@ -87,7 +87,7 @@ download_ubuntu()
         
packages=dialog,apt,apt-utils,resolvconf,iproute,inetutils-ping,vim,isc-dhcp-client,isc-dhcp-common,ssh,lsb-release,gnupg,netbase
     fi
     # If this is natty or newer, and we weren't asked to trim the container, 
then add lxcguest
-    if [ $release != "lucid" -a $release != "maverick" -a $trim_container -eq 
1 ]; then
+    if [ $release != "lucid" -a $release != "maverick" -a $trim_container -ne 
1 ]; then
         packages=$packages,lxcguest
     fi
     echo "installing packages: $packages"
-- 
1.7.4.1


------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to