Use UID in systemd container name

This commit is contained in:
Jim Paris 2016-08-01 14:05:40 -04:00
parent 1c82f6ad0a
commit bc8807ae7d

View File

@ -13,8 +13,8 @@ fi
# both). Instead let's execute systemd-nspawn in a transient systemd
# unit, then enter it using machinectl.
UNIT=nilmbuntu-run-$VERSION
MACH=nilmbuntu-$VERSION
UNIT=nilmbuntu-run-$NONPRIV_UID-$VERSION
MACH=nilmbuntu-$NONPRIV_UID-$VERSION
setup_networking() {
# We use a virtual ethernet adapter -- this requires that