File tree 4 files changed +60
-0
lines changed
.web-docs/components/builder
4 files changed +60
-0
lines changed Original file line number Diff line number Diff line change @@ -236,6 +236,21 @@ In HCL2:
236
236
your floppy disk includes drivers or if you just want to organize it's
237
237
contents as a hierarchy. Wildcard characters (\* , ?, and \[\] ) are allowed.
238
238
239
+ - ` floppy_content ` (map[ string] string) - Key/Values to add to the floppy disk. The keys represent the paths, and
240
+ the values contents. It can be used alongside ` floppy_files ` or
241
+ ` floppy_dirs ` , which is useful to add large files without loading them
242
+ into memory. If any paths are specified by both, the contents in
243
+ ` floppy_content ` will take precedence.
244
+
245
+ HCL Example:
246
+
247
+ ``` hcl
248
+ floppy_content = {
249
+ "meta-data" = jsonencode(local.instance_data)
250
+ "user-data" = templatefile("user-data", { packages = ["nginx"] })
251
+ }
252
+ ```
253
+
239
254
- ` floppy_label ` (string) - The label to use for the floppy disk that
240
255
is attached when the VM is booted. This is most useful for cloud-init,
241
256
Kickstart or other early initialization tools, which can benefit from labelled floppy disks.
Original file line number Diff line number Diff line change @@ -88,6 +88,21 @@ can also be supplied to override the typical auto-generated key:
88
88
your floppy disk includes drivers or if you just want to organize it's
89
89
contents as a hierarchy. Wildcard characters (\* , ?, and \[\] ) are allowed.
90
90
91
+ - ` floppy_content ` (map[ string] string) - Key/Values to add to the floppy disk. The keys represent the paths, and
92
+ the values contents. It can be used alongside ` floppy_files ` or
93
+ ` floppy_dirs ` , which is useful to add large files without loading them
94
+ into memory. If any paths are specified by both, the contents in
95
+ ` floppy_content ` will take precedence.
96
+
97
+ HCL Example:
98
+
99
+ ``` hcl
100
+ floppy_content = {
101
+ "meta-data" = jsonencode(local.instance_data)
102
+ "user-data" = templatefile("user-data", { packages = ["nginx"] })
103
+ }
104
+ ```
105
+
91
106
- ` floppy_label ` (string) - The label to use for the floppy disk that
92
107
is attached when the VM is booted. This is most useful for cloud-init,
93
108
Kickstart or other early initialization tools, which can benefit from labelled floppy disks.
Original file line number Diff line number Diff line change @@ -124,6 +124,21 @@ can also be supplied to override the typical auto-generated key:
124
124
your floppy disk includes drivers or if you just want to organize it's
125
125
contents as a hierarchy. Wildcard characters (\* , ?, and \[\] ) are allowed.
126
126
127
+ - ` floppy_content ` (map[ string] string) - Key/Values to add to the floppy disk. The keys represent the paths, and
128
+ the values contents. It can be used alongside ` floppy_files ` or
129
+ ` floppy_dirs ` , which is useful to add large files without loading them
130
+ into memory. If any paths are specified by both, the contents in
131
+ ` floppy_content ` will take precedence.
132
+
133
+ HCL Example:
134
+
135
+ ``` hcl
136
+ floppy_content = {
137
+ "meta-data" = jsonencode(local.instance_data)
138
+ "user-data" = templatefile("user-data", { packages = ["nginx"] })
139
+ }
140
+ ```
141
+
127
142
- ` floppy_label ` (string) - The label to use for the floppy disk that
128
143
is attached when the VM is booted. This is most useful for cloud-init,
129
144
Kickstart or other early initialization tools, which can benefit from labelled floppy disks.
Original file line number Diff line number Diff line change @@ -98,6 +98,21 @@ can also be supplied to override the typical auto-generated key:
98
98
your floppy disk includes drivers or if you just want to organize it's
99
99
contents as a hierarchy. Wildcard characters (\* , ?, and \[\] ) are allowed.
100
100
101
+ - ` floppy_content ` (map[ string] string) - Key/Values to add to the floppy disk. The keys represent the paths, and
102
+ the values contents. It can be used alongside ` floppy_files ` or
103
+ ` floppy_dirs ` , which is useful to add large files without loading them
104
+ into memory. If any paths are specified by both, the contents in
105
+ ` floppy_content ` will take precedence.
106
+
107
+ HCL Example:
108
+
109
+ ``` hcl
110
+ floppy_content = {
111
+ "meta-data" = jsonencode(local.instance_data)
112
+ "user-data" = templatefile("user-data", { packages = ["nginx"] })
113
+ }
114
+ ```
115
+
101
116
- ` floppy_label ` (string) - The label to use for the floppy disk that
102
117
is attached when the VM is booted. This is most useful for cloud-init,
103
118
Kickstart or other early initialization tools, which can benefit from labelled floppy disks.
You can’t perform that action at this time.
0 commit comments