aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-05-05 00:52:31 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-05-05 00:52:31 +0200
commitb269b2fb63da19e0f3316897c66108b062a8343b (patch)
treef6008ca03831e4bff501f72fa4bb68980727091b /python
parent027f30a15a70d2dc9f52fbb08b65238102754ee0 (diff)
parent71084626fd33f8e8be3ff779dfe26c0055147214 (diff)
downloadPuppet-b269b2fb63da19e0f3316897c66108b062a8343b.tar.gz
Puppet-b269b2fb63da19e0f3316897c66108b062a8343b.tar.zst
Puppet-b269b2fb63da19e0f3316897c66108b062a8343b.zip
Merge branch 'dev'
Diffstat (limited to 'python')
-rw-r--r--python/reboot_ovh_cloud_instance.py2
1 files changed, 2 insertions, 0 deletions
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:
26 instance["id"]), imageId=instance["imageId"], rescue=(netboot_mode == "rescue")) 26 instance["id"]), imageId=instance["imageId"], rescue=(netboot_mode == "rescue"))
27 print(result) 27 print(result)
28 28
29# reboot normal:
30#result = client.post("/cloud/project/{}/instance/{}/reboot".format(project, instance["id"]), type="soft")