60 lines
1.3 KiB
YAML
60 lines
1.3 KiB
YAML
variant: fcos
|
|
version: 1.4.0
|
|
|
|
ignition:
|
|
config:
|
|
merge:
|
|
- local: fix-hybrid-mbr.ign
|
|
- local: common.ign
|
|
- local: zram.ign
|
|
- local: cfg.ign
|
|
- local: serial-console.ign
|
|
|
|
passwd:
|
|
users:
|
|
- name: root
|
|
password_hash: '$6$rounds=656000$Dwv1aYtPgIZ3qgrW$3NULGiOIBcNUwNJsk0WjaIZx2uDCapejz7A/DwYGiZWVXvm5KLjW5lAh0zhzAfF6M.rXxi/YBygaNaN2XAAj5/'
|
|
|
|
# Attempting to add a user to any group other than adm, wheel, sudo, or
|
|
# systemd-journal causes Ignition to fail:
|
|
#
|
|
# useradd: group 'dialout' does not exist
|
|
#
|
|
# Work-around:
|
|
#
|
|
# sed -n '/^dialout:/s/.*/\0core/p' /lib/group | sudo tee -a /etc/group
|
|
#
|
|
# See also: https://discussion.fedoraproject.org/t/groupadd-usermod-dont-always-work-in-coreos/41735
|
|
# See also: https://github.com/coreos/rpm-ostree/issues/49
|
|
#
|
|
# - name: core
|
|
# groups:
|
|
# - adm
|
|
# - wheel
|
|
# - sudo
|
|
# - dialout
|
|
# - systemd-journal
|
|
|
|
storage:
|
|
files:
|
|
- path: /etc/hostname
|
|
mode: 0644
|
|
contents:
|
|
inline: serial1.pyrocufflink.blue
|
|
|
|
- path: /etc/NetworkManager/system-connections/enu1u1.nmconnection
|
|
mode: 0600
|
|
contents:
|
|
inline: |
|
|
[connection]
|
|
id=enu1u1
|
|
type=ethernet
|
|
interface-name=enu1u1
|
|
|
|
[ipv4]
|
|
address1=172.30.0.13/26,172.30.0.1
|
|
dns=172.30.0.1;
|
|
dns-search=pyrocufflink.blue;
|
|
method=manual
|
|
may-fail=false
|