-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdebian.tf
More file actions
49 lines (46 loc) · 1.5 KB
/
debian.tf
File metadata and controls
49 lines (46 loc) · 1.5 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" "debian-bookworm" {
name = "Debian 12 Bookworm"
image_source_url = "http://cdimage.debian.org/images/cloud/bookworm/latest/debian-12-generic-amd64.raw"
container_format = "bare"
disk_format = "raw"
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_type = "linux"
os_distro = "debian"
os_admin_user = "debian"
os_version = "12"
hw_rescue_bus = "scsi"
hw_rescue_device = "disk"
}
}
resource "openstack_images_image_v2" "debian-bullseye" {
name = "Debian 11 Bullseye"
image_source_url = "http://cloud.debian.org/images/cloud/bullseye/latest/debian-11-generic-amd64.raw"
container_format = "bare"
disk_format = "raw"
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_type = "linux"
os_distro = "debian"
os_admin_user = "debian"
os_version = "11"
hw_rescue_bus = "scsi"
hw_rescue_device = "disk"
}
}