Browse Source

Use UID in systemd container name

tags/nilmbuntu-6^0
Jim Paris 5 years ago
parent
commit
bc8807ae7d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      enter.sh

+ 2
- 2
enter.sh 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


Loading…
Cancel
Save