Remove nodiscover file from bootstrap
It is not used anymore during bootstrap boot phase to syncronize mcollective
service startup.
Change-Id: I4997e3cb8aa57f9ffac22f8d7c01de8447b640be
Partial-Bug: #1585671
Depends-On: Ic8e31d6381d8ffb8f7fdfd1aa8ebc655bb4535ec
(cherry picked from commit fe2a888abd
)
This commit is contained in:
parent
8c614acea0
commit
7069b68ff8
|
@ -5,6 +5,3 @@ multipath-reload || true
|
|||
|
||||
# Perform fuel bootstrap configuration
|
||||
fix-configs-on-startup || true
|
||||
|
||||
# Unlocking nailgun-agent for discovering
|
||||
rm -f /etc/nailgun-agent/nodiscover
|
||||
|
|
|
@ -64,7 +64,6 @@ systemctl restart ntp
|
|||
sed -i "s/^plugin.rabbitmq.pool.1.host\b.*$/plugin.rabbitmq.pool.1.host = $masternode_ip/" /etc/mcollective/server.cfg
|
||||
sed -i "s/^plugin.rabbitmq.pool.1.user\b.*$/plugin.rabbitmq.pool.1.user = $mco_user/" /etc/mcollective/server.cfg
|
||||
sed -i "s/^plugin.rabbitmq.pool.1.password\b.*$/plugin.rabbitmq.pool.1.password= $mco_pass/" /etc/mcollective/server.cfg
|
||||
rm -f /etc/nailgun-agent/nodiscover # this will be removed as soon as new nailgun agent is committed
|
||||
while true; do
|
||||
sleep 5
|
||||
grep --line-regexp "[[:digit:]]\+" /etc/nailgun_uid && break
|
||||
|
|
Loading…
Reference in New Issue