arch-nspawn: Set machine name

Recent changes to systemd-nspawn have it take the machine name from
the chroot dir name, which isn't unique enough for our setup.
parent 453558c4
......@@ -96,4 +96,4 @@ fi
build_mount_args
copy_hostconf
exec systemd-nspawn -D "$working_dir" "${mount_args[@]}" "$@"
exec systemd-nspawn -D "$working_dir" --machine "${working_dir//\//-}" "${mount_args[@]}" "$@"
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