only run network answers once
This commit is contained in:
parent
eb228ab7f3
commit
5a7abd99b7
|
@ -400,9 +400,9 @@ class NetworkController(BaseController):
|
|||
if self.answers.get('accept-default', False):
|
||||
self.done()
|
||||
elif self.answers.get('actions', False):
|
||||
self._run_iterator(
|
||||
self._run_actions(
|
||||
self.answers['actions']))
|
||||
actions = self.answers['actions']
|
||||
self.answers.clear()
|
||||
self._run_iterator(self._run_actions(actions))
|
||||
|
||||
if not dhcp_device_versions:
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue