diff options
author | Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | 2013-05-03 03:29:50 +0200 |
---|---|---|
committer | Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | 2013-05-03 04:34:29 +0200 |
commit | 0e98bd8c485b2c55c3971823f99a13c41b1ed696 (patch) | |
tree | 6f318a5a00d7af8a7abd7e1e569515cc2dc939b7 | |
parent | 453558c4bb44b4bff43fcd22f96d4cfe1dbcf6f1 (diff) |
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.
-rw-r--r-- | arch-nspawn.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch-nspawn.in b/arch-nspawn.in index 0df4875..fdff31e 100644 --- a/arch-nspawn.in +++ b/arch-nspawn.in @@ -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[@]}" "$@" |