From: Ismaƫl Bouya Date: Fri, 4 May 2018 22:51:52 +0000 (+0200) Subject: Add comment for python scripts X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FPuppet.git;a=commitdiff_plain;h=71084626fd33f8e8be3ff779dfe26c0055147214 Add comment for python scripts --- 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")