Automating VM creation: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 11: Line 11:


===Specifying a CloudInit File=== <!--T:4-->
===Specifying a CloudInit File=== <!--T:4-->
* Start as normal when launching an instance, by clicking [[File:Launch-Instance-Button-Kilo.png|125px]] under ''Project''->''Compute''->''Instances'' and specifying your VM's configuration as described in [[Cloud Quick Start#Launching a VM | Launching a VM]].
# Start as normal when launching an instance, by clicking [[File:Launch-Instance-Button-Kilo.png|125px]] under ''Project''->''Compute''->''Instances'' and specifying your VM's configuration as described in [[Cloud Quick Start#Launching a VM | Launching a VM]].
* '''Before''' clicking ''Launch'', select the ''Post-Creation'' tab and specify your ''Customization Script Source'', in this case a CloudInit YAML file, by either coping and pasting into a text box (''Direct Input'' method) or uploading from a file from your desktop computer (''File'' method). Older versions of OpenStack, in particular IceHouse, only provide a text box to copy and past your CloudInit file into.
# '''Before''' clicking ''Launch'', select the ''Post-Creation'' tab and specify your ''Customization Script Source'', in this case a CloudInit YAML file, by either coping and pasting into a text box (''Direct Input'' method) or uploading from a file from your desktop computer (''File'' method). Older versions of OpenStack, in particular IceHouse, only provide a text box to copy and past your CloudInit file into.
* Once the usual selections for your VM, as described in [[Cloud Quick Start#Launching a VM | Launching a VM]], have been made and the CloudInit YAML file is included, click ''Launch'' to create the VM. It may take some time for CloudInit to complete depending on what has been specified in the CloudInit YAML file.
# Once the usual selections for your VM, as described in [[Cloud Quick Start#Launching a VM | Launching a VM]], have been made and the CloudInit YAML file is included, click ''Launch'' to create the VM. It may take some time for CloudInit to complete depending on what has been specified in the CloudInit YAML file.


===Checking CloudInit Progress=== <!--T:5-->
===Checking CloudInit Progress=== <!--T:5-->
Line 19: Line 19:


<!--T:6-->
<!--T:6-->
* Selecting ''Project''->''Compute''->''Instances'' in the left hand menu.
# Selecting ''Project''->''Compute''->''Instances'' in the left hand menu.
* Click on the ''Instance Name'' of the VM. This will provide more information about the particular VM.
# Click on the ''Instance Name'' of the VM. This will provide more information about the particular VM.
* Select the ''Log'' tab and look for lines containing 'clout-init' for information about the various phases of CloudInit.
# Select the ''Log'' tab and look for lines containing 'clout-init' for information about the various phases of CloudInit.
* When CloudInit has finished running the following line will appear near or at the end of the log:
# When CloudInit has finished running the following line will appear near or at the end of the log:


   <!--T:7-->
   <!--T:7-->
Line 28: Line 28:


<!--T:8-->
<!--T:8-->
* The log must be refreshed manually by clicking the ''Go'' button
; The log must be refreshed manually by clicking the ''Go'' button


==Using Heat Templates== <!--T:9-->
==Using Heat Templates== <!--T:9-->
rsnt_translations
57,772

edits

Navigation menu