This commit is contained in:
Fleshless Builder
2017-11-18 00:15:16 +03:00
parent 10f7dd8d53
commit 51b453e90e
2 changed files with 5 additions and 3 deletions

View File

@@ -22,6 +22,8 @@ chmod 755 "$cnt_dir/rootfs/init"
# Tell it where to fetch the package
echo "$pkg_url" > "$cnt_dir/rootfs/repo"
export PKG_GIT_URL="$pkg_url"
# Start the container
lxc-start -n "$cnt" -F; lxc_exit=$?
(( lxc_exit )) && exit "$lxc_exit"