Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variant: fcos
- version: 1.1.0
- passwd:
- users:
- - name: core
- password_hash: $1.......
- ssh_authorized_keys:
- - ssh-rsa AAAA......
- groups: [ sudo, docker ]
- storage:
- directories:
- - path: /var/dados
- overwrite: true
- disks:
- - device: /dev/sdb
- wipe_table: true
- partitions:
- - number: 0
- size_mib: 0
- start_mib: 0
- wipe_partition_entry: true
- type_guid: 0FC63DAF-8483-4772-8E79-3D69D8477DE4
- label: dados
- filesystems:
- - path: /var/dados
- device: /dev/sdb
- format: ext4
- wipe_filesystem: false
- with_mount_unit: true
- files:
- - path: /etc/hostname
- mode: 0644
- contents:
- inline: testevinecontainer
- - path: /etc/ssh/sshd_config.d/20-enable-passwords.conf
- mode: 0644
- contents:
- inline: |
- PasswordAuthentication yes
- - path: /etc/NetworkManager/system-connections/ens33.nmconnection
- mode: 0600
- overwrite: true
- contents:
- inline: |
- [connection]
- type=ethernet
- id='Custom interface'
- interface-name=ens33
- [ethernet]
- mac-address=000C2970D8C0
- [ipv4]
- method=manual
- addresses=192.168.0.76/24
- gateway=192.168.0.23
- dns=192.168.0.23;1.1.1.1;8.8.8.8
- dns-search=redhat.com
- systemd:
- units:
- - name: dados.mount
- enabled: true
- contents: |
- [Unit]
- Before=local-fs.target
- [Mount]
- Where=/var/dados
- What=/dev/sdb
- Type=ext4
- [Install]
- WantedBy=local-fs.target
Add Comment
Please, Sign In to add comment