Sfoglia il codice sorgente

handle no lxc installed

pull/96/head
Miron 6 anni fa
parent
commit
b48730064a
1 ha cambiato i file con 8 aggiunte e 6 eliminazioni
  1. 8
    6
      libexec/gconfig

+ 8
- 6
libexec/gconfig Vedi File

@@ -1,9 +1,11 @@
VM_SSH_PORT=2223
if [ -z "$LXC_EXECUTE" ]; then
ver=`lxc-start --version`
if dpkg --compare-versions $ver ge 1.0.0 ; then
LXC_EXECUTE=lxc-execute
else
LXC_EXECUTE=lxc-start
if [ -n "$USE_LXC" ]; then
if [ -z "$LXC_EXECUTE" ]; then
ver=`lxc-start --version`
if dpkg --compare-versions $ver ge 1.0.0 ; then
LXC_EXECUTE=lxc-execute
else
LXC_EXECUTE=lxc-start
fi
fi
fi

Loading…
Annulla
Salva