1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-29 18:50:08 +03:00

M #-: Provision: Create virt.res. before update (#1966)

This commit is contained in:
Jan Orel 2022-04-22 10:03:30 +02:00 committed by Ruben S. Montero
parent a321aff1c4
commit 0efe4df530
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87
2 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@
enabled: false
- name: Allow forwading
shell: iptables -I DOCKER-USER -j RETRUN
shell: iptables -I DOCKER-USER -j RETURN
ignore_errors: yes
when: docker_result.stat.exists

View File

@ -395,14 +395,14 @@ module OneProvision
update
end
create_virtual_resources(cfg)
if skip == :none
configure_resources
else
info_objects('hosts', true) {|h| h.enable }
end
create_virtual_resources(cfg)
self.state = STATE['RUNNING']
update