Commit b9f59e15 authored by James T. Lee's avatar James T. Lee
Browse files

install: Increase live image size, tweak rsync

Improve rsync performance over WAN links.
parent b089681c
...@@ -205,7 +205,7 @@ if [[ $platform == 'live' ]]; then ...@@ -205,7 +205,7 @@ if [[ $platform == 'live' ]]; then
make_dir "${live_dir}/LiveOS/squashfs-root/LiveOS" make_dir "${live_dir}/LiveOS/squashfs-root/LiveOS"
task "Making live CD root image..." task "Making live CD root image..."
destructive_cmd truncate -s 10G "${live_dir}/LiveOS/squashfs-root/LiveOS/rootfs.img" destructive_cmd truncate -s 20G "${live_dir}/LiveOS/squashfs-root/LiveOS/rootfs.img"
destructive_cmd mkfs.ext4 "${live_dir}/LiveOS/squashfs-root/LiveOS/rootfs.img" destructive_cmd mkfs.ext4 "${live_dir}/LiveOS/squashfs-root/LiveOS/rootfs.img"
destructive_cmd tune2fs -o discard "${live_dir}/LiveOS/squashfs-root/LiveOS/rootfs.img" destructive_cmd tune2fs -o discard "${live_dir}/LiveOS/squashfs-root/LiveOS/rootfs.img"
...@@ -300,7 +300,7 @@ if [[ $shell ]]; then ...@@ -300,7 +300,7 @@ if [[ $shell ]]; then
fi fi
task "Copying image..." task "Copying image..."
cmd rsync --archive --delete --hard-links --info=progress2 --no-inc-recursive "${img}/" "$target" cmd rsync --archive --delete --hard-links --info=progress2 "${img}/" "$target"
task "Installing bootloader..." task "Installing bootloader..."
chroot_cmd puppet agent --onetime --verbose --no-daemonize --no-splay --show_diff --tags nest::base::bootloader chroot_cmd puppet agent --onetime --verbose --no-daemonize --no-splay --show_diff --tags nest::base::bootloader
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment