-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrocky.tf
More file actions
50 lines (46 loc) · 1.49 KB
/
rocky.tf
File metadata and controls
50 lines (46 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
resource "openstack_images_image_v2" "rocky-9" {
name = "Rocky Linux 9"
image_source_url = "https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2"
container_format = "bare"
disk_format = "qcow2"
visibility = "public"
protected = false
min_disk_gb = 10
min_ram_mb = 1024
image_cache_path = var.images_cache
properties = {
hw_scsi_model = "virtio-scsi"
hw_disk_bus = "scsi"
hw_qemu_guest_agent = "yes"
os_require_quiesce = "yes"
os_admin_user = "rocky"
os_type = "linux"
os_distro = "rocky"
os_version = "9"
hw_rescue_bus = "scsi"
hw_rescue_device = "disk"
}
}
resource "openstack_images_image_v2" "rocky-8" {
name = "Rocky Linux 8"
image_source_url = "https://dl.rockylinux.org/pub/rocky/8/images/x86_64/Rocky-8-GenericCloud.latest.x86_64.qcow2"
container_format = "bare"
disk_format = "qcow2"
visibility = "public"
protected = false
min_disk_gb = 10
min_ram_mb = 1024
image_cache_path = var.images_cache
properties = {
hw_scsi_model = "virtio-scsi"
hw_disk_bus = "scsi"
hw_qemu_guest_agent = "yes"
os_require_quiesce = "yes"
os_admin_user = "rocky"
os_type = "linux"
os_distro = "rocky"
os_version = "8"
hw_rescue_bus = "scsi"
hw_rescue_device = "disk"
}
}