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.
This commit is contained in:
Jan Alexander Steffens (heftig) 2013-05-03 03:29:50 +02:00
parent 453558c4bb
commit 0e98bd8c48
1 changed files with 1 additions and 1 deletions

View File

@ -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[@]}" "$@"