summaryrefslogtreecommitdiff
path: root/arch-nspawn.in
diff options
context:
space:
mode:
Diffstat (limited to 'arch-nspawn.in')
-rw-r--r--arch-nspawn.in2
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[@]}" "$@"