create ubuntu small packer config
This commit is contained in:
30
infra-config/04-vm-templates/ubuntu-24.04.03/http/user-data
Normal file
30
infra-config/04-vm-templates/ubuntu-24.04.03/http/user-data
Normal file
@@ -0,0 +1,30 @@
|
||||
#cloud-config
|
||||
autoinstall:
|
||||
version: 1
|
||||
locale: en_US
|
||||
keyboard:
|
||||
layout: us
|
||||
ssh:
|
||||
install-server: true
|
||||
allow-pw: true
|
||||
disable_root: true
|
||||
ssh_quiet_keygen: true
|
||||
allow_public_ssh_keys: true
|
||||
packages:
|
||||
- qemu-guest-agent
|
||||
- sudo
|
||||
storage:
|
||||
layout:
|
||||
name: direct
|
||||
swap:
|
||||
size: 0
|
||||
user-data:
|
||||
package_upgrade: false
|
||||
timezone: America/Chicago
|
||||
users:
|
||||
- name: wed
|
||||
# passwd: "$6$rounds=4096$4SY5kMDOITTy3R6s$vgp01IwfMWJRYxY1pa.D6xS.TEzGkMpVqxZtxPQrYuHzvywq2sSw/Z.yEmG3hsWnERCorBbN7tdMttVTcj4u61"
|
||||
groups: [adm, sudo]
|
||||
lock-passwd: false
|
||||
sudo: ALL=(ALL) NOPASSWD:ALL
|
||||
shell: /bin/bash
|
||||
Reference in New Issue
Block a user