]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/commitdiff
Add comment for python scripts
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 4 May 2018 22:51:52 +0000 (00:51 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 4 May 2018 22:51:52 +0000 (00:51 +0200)
python/reboot_ovh_cloud_instance.py

index de20c07c1a905789f5c129ec797c0626de664efd..bd70e0b8fb166e2220e4d0623ad1ed2be3ac7512 100644 (file)
@@ -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")