Commit 29e62278 authored by Florian Pritz's avatar Florian Pritz Committed by Pierre Schmitz

arch-nspawn: remove leading - from the machine name/hostname

Signed-off-by: default avatarFlorian Pritz <>
Signed-off-by: default avatarPierre Schmitz <>
parent 8c4553f6
......@@ -98,8 +98,11 @@ copy_hostconf
eval $(grep '^CARCH=' "$working_dir/etc/makepkg.conf")
exec ${CARCH:+setarch "$CARCH"} systemd-nspawn 2>/dev/null \
-D "$working_dir" \
--machine "${working_dir//\//-}" \
--machine "$machine_name" \
"${mount_args[@]}" \
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment