move config
This commit is contained in:
parent
aa12d7336b
commit
feee5aca8a
2 changed files with 34 additions and 2 deletions
6
agent.sh
6
agent.sh
|
|
@ -6,6 +6,8 @@
|
|||
# green create
|
||||
|
||||
. ./lib/prime/volumes.sh
|
||||
. ./lib/prime/init.sh
|
||||
. ./lib/prime/vm.sh
|
||||
|
||||
DRY_RUN="1"
|
||||
SIMULATION="1"
|
||||
|
|
@ -28,8 +30,7 @@ function main {
|
|||
delete_volume "$@"
|
||||
;;
|
||||
"Config")
|
||||
metadata_service
|
||||
systemctl daemon-reload
|
||||
config_kvm
|
||||
;;
|
||||
*)
|
||||
echo "action : ${fonction} not known !"
|
||||
|
|
@ -38,6 +39,7 @@ function main {
|
|||
echo " -> StopVm"
|
||||
echo " -> CreateVolume"
|
||||
echo " -> DeleteVolume"
|
||||
echo " -> Config"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue