only start opennebula if database do not exists
This commit is contained in:
parent
a71da62006
commit
fb1bea8654
@ -10,6 +10,8 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# creation de la base /var/lib/one/one.db
|
# creation de la base /var/lib/one/one.db
|
||||||
|
if [ ! -e /var/lib/one/one.db ]; then
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl start opennebula.service
|
systemctl start opennebula.service
|
||||||
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user