distro-builder allows SSH-ing in

This commit is contained in:
Mike Staszel 2010-07-04 17:15:40 -07:00
parent 0c69c2696e
commit cf94fb1627

View file

@ -1,7 +1,7 @@
#!/bin/bash
#
# Plugbox Linux Distribution Image Builder
# Version 0.3.3
# Version 0.3.4
#
# Licensed under the GPLv2.
#
@ -17,7 +17,7 @@
#
# ==== Variables to set ====
INSTALLEDPKGS="base kernel26-withlinux file openssh openssl heimdal"
RELEASEVER=1.1-beta1r2
RELEASEVER=1.1-beta1r3
MAKETARGZ=1
MAKEUBIIMG=1
# ==== The Process ====
@ -38,6 +38,7 @@ echo "en_US ISO-8859-1" >> $1/etc/locale.gen
chroot $1/ /usr/sbin/locale-gen
chroot $1/ /usr/bin/pacman -Scc --noconfirm
echo $RELEASEVER > $1/etc/plugbox-version
echo "sshd: ALL" >> $1/etc/hosts.allow
# Here is the rootfs.tar.gz part if you set MAKETARGZ to 1
if [ $MAKETARGZ = 1 ]; then