mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Revert "Bootstrap delay option for salt-cloud"
This commit is contained in:
parent
2eb44fbd11
commit
e864de8f03
2 changed files with 0 additions and 11 deletions
|
@ -16,7 +16,6 @@ from __future__ import print_function
|
|||
from __future__ import absolute_import
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
import logging
|
||||
from salt.ext.six.moves import input
|
||||
|
||||
|
@ -364,10 +363,6 @@ class SaltCloud(parsers.SaltCloudParser):
|
|||
self.handle_exception(msg, exc)
|
||||
|
||||
elif self.options.bootstrap:
|
||||
if self.options.bootstrap_delay:
|
||||
log.info('Sleeping for {0} seconds for bootstrap delay.'.format(self.options.bootstrap_delay))
|
||||
time.sleep(self.options.bootstrap_delay)
|
||||
log.info('Bootstrap delay finished. Onward!')
|
||||
host = self.options.bootstrap
|
||||
if len(self.args) > 0:
|
||||
if '=' not in self.args[0]:
|
||||
|
|
|
@ -1404,12 +1404,6 @@ class ExecutionOptionsMixIn(six.with_metaclass(MixInMeta, object)):
|
|||
action='store_true',
|
||||
help='Update salt-bootstrap to the latest stable bootstrap release.'
|
||||
)
|
||||
group.add_option(
|
||||
'--bootstrap-delay',
|
||||
default=False,
|
||||
action='store_true',
|
||||
help='Delay before bootstrap is attempted.'
|
||||
)
|
||||
group.add_option(
|
||||
'-y', '--assume-yes',
|
||||
default=False,
|
||||
|
|
Loading…
Add table
Reference in a new issue