mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
update annotation for general failure
This commit is contained in:
@@ -736,6 +736,8 @@ def setup_environment(vm_name: str = 'sool9', disk_size: str = '220G', minion_id
|
|||||||
# Update hypervisor annotation with success status
|
# Update hypervisor annotation with success status
|
||||||
if success:
|
if success:
|
||||||
_apply_dyanno_hypervisor_state('Initialized')
|
_apply_dyanno_hypervisor_state('Initialized')
|
||||||
|
else:
|
||||||
|
_apply_dyanno_hypervisor_state('SetupFailed')
|
||||||
|
|
||||||
# If setup was successful and we have a minion_id, run highstate
|
# If setup was successful and we have a minion_id, run highstate
|
||||||
if success and minion_id:
|
if success and minion_id:
|
||||||
|
|||||||
@@ -51,6 +51,10 @@ Base domain image download failed. Please check the salt-master log for details
|
|||||||
#### ERROR
|
#### ERROR
|
||||||
|
|
||||||
SSH key setup failed. Please check the salt-master log for details.
|
SSH key setup failed. Please check the salt-master log for details.
|
||||||
|
{%- elif baseDomainStatus == 'SetupFailed' %}
|
||||||
|
#### WARNING
|
||||||
|
|
||||||
|
Setup failed. Please check the salt-master log for details.
|
||||||
{%- else %}
|
{%- else %}
|
||||||
#### WARNING
|
#### WARNING
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user