[ec2] add default provisioning script

This commit is contained in:
Fabio Erculiani
2011-08-01 10:23:29 +02:00
parent ae80cb3cc8
commit 92bc8e202a
4 changed files with 35 additions and 4 deletions

View File

@@ -22,8 +22,8 @@ rc-update del x-setup boot
# Enable ssh
rc-update add sshd default
# setup default root password
echo "root:sabayonamichangeme" | chpasswd
# delete root password, only ssh allowed
passwd -d root
# setup UTC clock
sed -i 's:clock=".*":clock="UTC":' /etc/conf.d/hwclock || exit 1
@@ -58,7 +58,6 @@ kernel ${kernel_bin} root=/dev/sda1
" > /boot/grub/grub.conf
# initrd ${initrd_bin}
# Generate list of installed packages
equo query list installed -qv > /etc/sabayon-pkglist