comenzando
This commit is contained in:
@@ -27,24 +27,12 @@ ssh_pwauth: true
|
||||
hostname: $VMHOST
|
||||
manage_etc_hosts: true
|
||||
fqdn: $VMHOST
|
||||
write_files:
|
||||
- path: /etc/netplan/50-cloud-init.yaml
|
||||
content: |
|
||||
network:
|
||||
version: 2
|
||||
renderer: networkd
|
||||
ethernets:
|
||||
default:
|
||||
match:
|
||||
name: e*
|
||||
dhcp4: yes
|
||||
dhcp-identifier: mac
|
||||
|
||||
runcmd:
|
||||
- apt update && apt install git -y
|
||||
- cd /root
|
||||
- git clone https://git.lfgut.duckdns.org/luis/infra_cloudinit.git
|
||||
- cd infra_cloudinit
|
||||
# - ./k8s.sh
|
||||
- ./k8s.sh
|
||||
EOF
|
||||
|
||||
echo "Archivo user_data.yaml creado con éxito."
|
||||
|
||||
Reference in New Issue
Block a user