install-server: Run resize2fs

This allows us to have larger root filesystems than the AMI image.

(imported from commit 4e9698432b0c154a0bc635df07abd278c08a4905)
This commit is contained in:
Zev Benjamin 2013-09-30 10:44:19 -04:00
parent 3ff0ee6b21
commit a906890b4d
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ EOF
set -e
ssh $SSH_OPTS "$server" -t -i "$amazon_key_file" -lroot <<EOF
resize2fs /dev/xvda1
echo "$hostname" > /etc/hostname
sed -i 's/localhost$/localhost $hostname/' /etc/hosts
/etc/init.d/hostname.sh start