Skip to content

Commit a89e37a

Browse files
Add Proxmox images by using Hammer CLI
1 parent 66b6f20 commit a89e37a

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

guides/common/assembly_provisioning-virtual-machines-proxmox.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ include::modules/proc_adding-a-proxmox-connection-to-server.adoc[leveloffset=+1]
1313

1414
include::modules/proc_adding-proxmox-images-to-project-by-using-web-ui.adoc[leveloffset=+1]
1515

16+
include::modules/proc_adding-proxmox-images-to-project-by-using-cli.adoc[leveloffset=+1]
17+
1618
include::modules/proc_adding-proxmox-details-to-a-compute-profile.adoc[leveloffset=+1]
1719

1820
include::modules/proc_creating-hosts-on-proxmox.adoc[leveloffset=+1]
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
:_mod-docs-content-type: PROCEDURE
2+
3+
[id="adding-proxmox-images-to-{project-context}-by-using-cli"]
4+
= Adding Proxmox images to {Project} by using Hammer CLI
5+
6+
Proxmox uses templates as images for creating virtual machines.
7+
When you use image-based provisioning to create new hosts, add Proxmox template details to your {Project}.
8+
9+
.Procedure
10+
. Optional: View all available images on Proxmox:
11+
+
12+
[options="nowrap" subs="+quotes"]
13+
----
14+
$ hammer compute-resource image available --compute-resource "_My_Proxmox_"
15+
----
16+
. Add your Proxmox image to {Project}:
17+
+
18+
[options="nowrap" subs="+quotes"]
19+
----
20+
$ hammer compute-resource image create \
21+
--architecture "_My_Architecture_" \
22+
--compute-resource "_My_Proxmox_" \
23+
--name "_My_Image_Name_" \
24+
--operatingsystem "_My_Operating_System_" \
25+
--user-data true \
26+
--username _My_User_Name_ \
27+
--uuid "_My_UUID_"
28+
----
29+
30+
.Verification
31+
* Verify that the Proxmox image is present on your {Project}:
32+
+
33+
[options="nowrap" subs="+quotes"]
34+
----
35+
$ hammer compute-resource image list --compute-resource "_My_Proxmox_"
36+
----

0 commit comments

Comments
 (0)