mirror of https://github.com/zulip/zulip.git
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:
parent
3ff0ee6b21
commit
a906890b4d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue