This moves vim back to the default list of packages, drops the duplicate
ssh entry which means that unless extra packages are passed through
--packages, container creation won't invoke apt-get anymore.
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
arch=$2
release=$3
- packages_template=${packages_template:-"ssh"}
+ packages_template=${packages_template:-"ssh vim"}
# Try to guess a list of langpacks to install
langpacks="language-pack-en"
fi
# Install Packages in container
- if [ -n $packages ]
+ if [ -n "$packages" ]
then
local packages="`echo $packages | sed 's/,/ /g'`"
echo "Installing packages: ${packages}"
debug=0
hostarch=$arch
flushcache=0
-packages="vim,ssh"
+packages=""
user="ubuntu"
password="ubuntu"
while true