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

install: Preserve ACLs and xattrs during rsync

The xattrs are especially important for filecaps needed by
/sbin/unix_chkpwd.
parent 6f444033
...@@ -323,7 +323,7 @@ if [[ $shell ]]; then ...@@ -323,7 +323,7 @@ if [[ $shell ]]; then
fi fi
task "Copying image..." task "Copying image..."
cmd rsync --archive --delete --hard-links --info=progress2 "root@falcon:${img}/" "$target" cmd rsync --archive --acls --hard-links --xattrs --delete --info=progress2 "root@falcon:${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