Changes for page proxmox

Last modified by Kevin Wiki on 2026/05/18 09:20

From version 10.1
edited by Kevin Wiki
on 2026/05/18 08:16
Change comment: There is no comment for this version
To version 9.6
edited by Kevin Wiki
on 2026/05/18 08:16
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -151,8 +151,6 @@
151 151  
152 152  cloud-init is a great hook for installing or configuring programs or receiving variables from cloudinit CDROM drive. Making it easier to change IP, hostname, DNS, username/password, etc between VMs.
153 153  
154 -This is a debian example of what we are looking for:
155 -
156 156  {{code language="yaml"}}
157 157  # The top level settings are used as module
158 158  # and system configuration.
... ... @@ -162,6 +162,7 @@
162 162  users:
163 163   - default
164 164  
163 +
165 165  # If this is set, 'root' will not be able to ssh in and they
166 166  # will get a message to login instead as the default $user
167 167  disable_root: true
... ... @@ -174,6 +174,18 @@
174 174   # which has been a source of surprise.
175 175   preserve_sources_list: true
176 176  
176 +# If you use datasource_list array, keep array items in a single line.
177 +# If you use multi line array, ds-identify script won't read array items.
178 +# Example datasource config
179 +# datasource:
180 +# Ec2:
181 +# metadata_urls: [ 'blah.com' ]
182 +# timeout: 5 # (defaults to 50 seconds)
183 +# max_wait: 10 # (defaults to 120 seconds)
184 +
185 +
186 +
187 +
177 177  # The modules that run in the 'init' stage
178 178  cloud_init_modules:
179 179   - seed_random
... ... @@ -193,6 +193,9 @@
193 193  
194 194  # The modules that run in the 'config' stage
195 195  cloud_config_modules:
207 + - snap
208 + - ssh-import-id
209 + - keyboard
196 196   - locale
197 197   - set-passwords
198 198   - grub-dpkg
... ... @@ -202,11 +202,20 @@
202 202   - timezone
203 203   - disable-ec2-metadata
204 204   - runcmd
219 + - byobu
205 205  
206 206  # The modules that run in the 'final' stage
207 207  cloud_final_modules:
208 208   - package-update-upgrade-install
224 + - fan
225 + - landscape
226 + - lxd
209 209   - write-files-deferred
228 + - puppet
229 + - chef
230 + - mcollective
231 + - salt-minion
232 + - reset_rmc
210 210   - scripts-vendor
211 211   - scripts-per-once
212 212   - scripts-per-boot
... ... @@ -213,9 +213,9 @@
213 213   - scripts-per-instance
214 214   - scripts-user
215 215   - ssh-authkey-fingerprints
216 -# - keys-to-console
239 + - keys-to-console
217 217   - install-hotplug
218 -# - phone-home
241 + - phone-home
219 219   - final-message
220 220   - power-state-change
221 221  
... ... @@ -229,9 +229,8 @@
229 229   name: debian
230 230   lock_passwd: True
231 231   gecos: Debian
232 - groups: [sudo]
233 - # Disables password-less sudo commands for default/debian user
234 - sudo: ["ALL=(ALL) ALL"]
255 + groups: [adm, audio, cdrom, dialout, dip, floppy, plugdev, sudo, video]
256 + sudo: ["ALL=(ALL) NOPASSWD:ALL"]
235 235   shell: /bin/bash
236 236   # Other config here will be given to the distro class and/or path classes
237 237   paths:
... ... @@ -243,6 +243,7 @@
243 243   primary: https://deb.debian.org/debian
244 244   security: https://deb.debian.org/debian-security
245 245   ssh_svcname: ssh
268 +
246 246  {{/code}}
247 247  
248 248