Commits

M0E-lnx  committed 26cd4f3

Fix call to installpkg to make it slackware compattible

  • Participants
  • Parent commits c7913f7

Comments (0)

Files changed (1)

File src/lxc-vector

 fi
 # Install the stuff
 for component in $PKGLIST; do
-	$INSTALLPKG -R $_ROOT $cache_base/$component-*.t?z || exit 1
+	$INSTALLPKG --root $_ROOT $cache_base/$component-*.t?z || exit 1
 done
 
 # Fix the init system in the container
 
     cat <<EOF
 $1 -h|--help -p|--path=<path>
+
+Creates LXC containers for Vectorlinux and VLocity versions 7.0 and later.
+
+Behaviour control:  Set the following variables to alter behaviour
+
+VL_VERSION 
+  Set this to the Vector or VLocity version you want to create container for.
+VL_ARCH 
+  Set this to which ever architecture the container should be
+
+Example:
+VL_VERSION="7.0" VL_ARCH="i586" $0 -n container_name -t vector
+^^ That would create a vector 7.0 i586 container ^^
+
+See lxc-create --help for more.
 EOF
     return 0
 }