96 lines
3.0 KiB
YAML
96 lines
3.0 KiB
YAML
|
---
|
||
|
|
||
|
variant: fcos
|
||
|
version: 1.5.0
|
||
|
systemd:
|
||
|
units:
|
||
|
# Installing vim as a layered package with rpm-ostree
|
||
|
- name: rpm-ostree-install-vim.service
|
||
|
enabled: true
|
||
|
contents: |
|
||
|
[Unit]
|
||
|
Description=Layer vim with rpm-ostree
|
||
|
Wants=network-online.target
|
||
|
After=network-online.target
|
||
|
# We run before `zincati.service` to avoid conflicting rpm-ostree
|
||
|
# transactions.
|
||
|
Before=zincati.service
|
||
|
ConditionPathExists=!/var/lib/%N.stamp
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
RemainAfterExit=yes
|
||
|
# `--allow-inactive` ensures that rpm-ostree does not return an error
|
||
|
# if the package is already installed. This is useful if the package is
|
||
|
# added to the root image in a future Fedora CoreOS release as it will
|
||
|
# prevent the service from failing.
|
||
|
ExecStart=/usr/bin/rpm-ostree install --apply-live --allow-inactive vim vim-airline
|
||
|
ExecStart=/bin/touch /var/lib/%N.stamp
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
storage:
|
||
|
files:
|
||
|
# Set vim as default editor
|
||
|
# We use `zz-` as prefix to make sure this is processed last in order to
|
||
|
# override any previously set defaults.
|
||
|
- path: /etc/profile.d/zz-default-editor.sh
|
||
|
overwrite: true
|
||
|
contents:
|
||
|
inline: |
|
||
|
export EDITOR=vim
|
||
|
|
||
|
- path: /etc/hostname
|
||
|
mode: 0644
|
||
|
contents:
|
||
|
inline: borgwarehouse-pumbaa.gaia.ykn.local
|
||
|
|
||
|
- path: /etc/vconsole.conf
|
||
|
mode: 0644
|
||
|
contents:
|
||
|
inline: KEYMAP=fr
|
||
|
|
||
|
- path: /etc/NetworkManager/system-connections/ens3.nmconnection
|
||
|
mode: 0600
|
||
|
contents:
|
||
|
inline: |
|
||
|
[connection]
|
||
|
id=ens3
|
||
|
type=ethernet
|
||
|
interface-name=ens3
|
||
|
|
||
|
[ipv4]
|
||
|
address1=192.168.1.10/24,192.168.1.254
|
||
|
dhcp-hostname=borgwarehouse-pumbaa.gaia.ykn.local
|
||
|
dns=193.110.81.9;
|
||
|
dns-search=gaia.ykn.local
|
||
|
ignore-auto-dns=true
|
||
|
may-fail=false
|
||
|
method=manual
|
||
|
|
||
|
[ipv6]
|
||
|
addr-gen-mode=default
|
||
|
dns=2a0f:fc80::9;
|
||
|
ignore-auto-dns=true
|
||
|
method=dhcp
|
||
|
|
||
|
passwd:
|
||
|
users:
|
||
|
- name: core
|
||
|
should_exist: false
|
||
|
- name: ansible
|
||
|
groups:
|
||
|
- sudo
|
||
|
ssh_authorized_keys:
|
||
|
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILNxxMmKSUHibYrlwyhx6UzyEAIPrghuQ/2fiCvcGAfh ansible
|
||
|
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJPerG1LAvNuuwuMnlExCyfsRwGqrM1U3C/aUtuXqhyu bot_ansible
|
||
|
- name: alegall
|
||
|
password_hash: $y$j9T$61LMkIUWS6N.UQv3U4pxM1$Eodnc23AtXOvQMqm/qgqv7blGot4/8.OUsgIZazV9ND
|
||
|
groups:
|
||
|
- sudo
|
||
|
ssh_authorized_keys:
|
||
|
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHXrbcIwTQkJPlURJTePjQXAE4Q1lCjPp2JW/Y/oxXzp alegall@mufasa
|
||
|
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP/JatXrf/HkF8HAnL5JmC05DHmUcgB7/eptDeD7kAP5 alegall@zazu
|
||
|
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFI2/UosyrHbR3NVB8JDWbhNnmTLMS6EuCRG52hP50Vh alegall@smartphone
|
||
|
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINwBIdvpiFgEzP2B+h3KIFmmxh1l7MVetGy2cThmpxcP alegall@sightcall
|