Skip to content

Latest commit

 

History

History
35 lines (32 loc) · 812 Bytes

cloud-init.md

File metadata and controls

35 lines (32 loc) · 812 Bytes

Reference

NoCloud

userdata.yml

#cloud-config
password: passw0rd
chpasswd: { expire: False }
ssh_pwauth: True

netconf.yml

version: 1
config:
  - type: physical
    name: eth0
    subnets:
      - type: static
        address: 192.168.10.10/24
        gateway: 192.168.10.1
      - type: nameserver:
        address:
          - 8.8.8.8

Create a seed image and attach it into the instance as CD-ROOM

cloud-localds -v -H myvm01 -N netconf.yml seed.img userdata.yml