Forum Discussion
Chanan_Berler_3
Nimbostratus
Feb 22, 2017Disable GUI initial setup
Hi all, Using python SDK i am trying to disable the GUI initial setup. But it does not work for me :( Can anyone help? BR Chanan
method will disable GUI setup
def _init_gui_setup(self):
try:
print("=======> disabling F5 bip ip GUI initial setup")
logger.info("disabling F5 bip ip GUI initial setup")
bigip = bigip_ManagementRoot(
self.public_ip,
'admin',
self.password)
t_end = time.time() + 60 * 2
while time.time() < t_end:
logger.info("disabled GUI initial setup")
settings = bigip.tm.sys.global_settings.load()
from pprint import pprint
pprint(settings.raw)
if settings.guiSetup == 'disabled':
break
settings.guiSetup = 'disabled'
settings.update()
print("=======> init gui setup successful")
logger.info("init gui setup successful")
return
except iControlUnexpectedHTTPError:
logger.warning("failed to init GUI initial setup on {}".format(
self.public_ip
))
raise
No RepliesBe the first to reply
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects