Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- heat_template_version: 2013-05-23
- description: Template basilare per creare due macchine virtuali connesse ad una LAN di progetto. Cambiare XY col numero della propria postazione; cambiare XYZ.XYZ.XYZ.XYZ con un IP a scelta appartenente alla propria subnet.
- resources:
- my_instance_1:
- type: OS::Nova::Server
- properties:
- name: "myVM 1"
- admin_pass: heattest1
- key_name: KeyStudenteXY
- image: "Fedora x86_64"
- flavor: m1.small
- security_groups: [default, SSH-Ping]
- networks:
- - network: NetStudenteXY
- my_instance_2:
- type: OS::Nova::Server
- properties:
- name: "myVM 2"
- admin_pass: heattest2
- key_name: KeyStudenteXY
- image: "Ubuntu x86_64"
- flavor: m1.medium
- security_groups: [SSH-Ping]
- networks: [{"network": NetStudenteXY, "fixed_ip": XYZ.XYZ.XYZ.XYZ}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement