Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nest
Puppet
Commits
b9f59e15
Commit
b9f59e15
authored
Jul 07, 2021
by
James T. Lee
Browse files
install: Increase live image size, tweak rsync
Improve rsync performance over WAN links.
parent
b089681c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
files/scripts/install.sh
files/scripts/install.sh
+2
-2
No files found.
files/scripts/install.sh
View file @
b9f59e15
...
@@ -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
1
0G
"
${
live_dir
}
/LiveOS/squashfs-root/LiveOS/rootfs.img"
destructive_cmd
truncate
-s
2
0G
"
${
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment