X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=python%2Freboot_ovh_cloud_instance.py;h=bd70e0b8fb166e2220e4d0623ad1ed2be3ac7512;hb=71084626fd33f8e8be3ff779dfe26c0055147214;hp=de20c07c1a905789f5c129ec797c0626de664efd;hpb=eeac44ec8e07980b3dcdb0789666db17f3e23ea2;p=perso%2FImmae%2FProjets%2FPuppet.git diff --git a/python/reboot_ovh_cloud_instance.py b/python/reboot_ovh_cloud_instance.py index de20c07..bd70e0b 100644 --- a/python/reboot_ovh_cloud_instance.py +++ b/python/reboot_ovh_cloud_instance.py @@ -26,3 +26,5 @@ if netboot_mode is not None: instance["id"]), imageId=instance["imageId"], rescue=(netboot_mode == "rescue")) print(result) +# reboot normal: +#result = client.post("/cloud/project/{}/instance/{}/reboot".format(project, instance["id"]), type="soft")