Skip to content

Commit

Permalink
change default contaner to chroot
Browse files Browse the repository at this point in the history
  • Loading branch information
betcher committed Nov 21, 2018
1 parent de027ce commit 18620dc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions project-files/usr/bin/chroot2pfs
Expand Up @@ -123,9 +123,6 @@ fi

allow_only_root

ps -C systemd >/dev/null ; S=$?
which systemd-nspawn >/dev/null ; N=$?
[ "$N" == 0 -a "$S" == 0 ] && CHROOT="nspawn"
[ $CONTANER ] && CHROOT="$CONTANER"
echo "Using: $CHROOT"
#Имя обязательно, так как зацепиться не за что
Expand Down

0 comments on commit 18620dc

Please sign in to comment.