add template vm in proxmox [ci skip]
This commit is contained in:
parent
52638b3783
commit
9831fe1bc3
5 changed files with 68 additions and 18 deletions
22
modules/create-template-vm/cloud_init.yaml
Normal file
22
modules/create-template-vm/cloud_init.yaml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#cloud-config
|
||||
hostname: terraform-vm
|
||||
users:
|
||||
- name: wizard
|
||||
sudo: ALL=(ALL) NOPASSWD:ALL
|
||||
ssh_authorized_keys:
|
||||
- ${authorized_ssh_key}
|
||||
passwd: ${passwd}
|
||||
lock_passwd: false # enable passwd login
|
||||
package_update: true
|
||||
package_upgrade: true
|
||||
packages:
|
||||
- htop
|
||||
- vim
|
||||
- curl
|
||||
- jq
|
||||
- tcpdump
|
||||
- tree
|
||||
- tmux
|
||||
- wget
|
||||
- net-tools
|
||||
- zsh
|
||||
Loading…
Add table
Add a link
Reference in a new issue