From 0e98bd8c485b2c55c3971823f99a13c41b1ed696 Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Fri, 3 May 2013 03:29:50 +0200 Subject: 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. --- arch-nspawn.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[@]}" "$@" -- cgit v1.2.3-70-g09d2