Commit 0e98bd8c authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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[@]}" "$@"