tripleo-bootstrap: only enable network, not starting.
Starting the service can fail is the script was run before.
The task is really to enable the network after a reboot, so let's just
make sure we enable the service, and not need to start it.
Change-Id: Ib8fb5e9154091f80a08c272df014bea25c39c475
(cherry picked from commit cf86a8d61e
)
This commit is contained in:
parent
24c55464ce
commit
5de8867b70
|
@ -24,10 +24,11 @@
|
|||
# at boot, as it'll take care of restarting the network interfaces managed by
|
||||
# OVS. Note that OVS unit service is already configure to start before
|
||||
# network.service.
|
||||
# Note that we don't try to start the service since this is a one shot script
|
||||
# which can fail if someone tries to starts it a second time.
|
||||
# See https://bugzilla.redhat.com/show_bug.cgi?id=1701866 for context.
|
||||
- name: Ensure network service is enabled and started
|
||||
- name: Ensure network service is enabled
|
||||
service:
|
||||
name: network
|
||||
enabled: yes
|
||||
state: started
|
||||
become: true
|
||||
|
|
Loading…
Reference in New Issue