Compare commits
No commits in common. "2b12ce769c7dc9e60eb482810292ee6aa048b1a7" and "bf33c2ab7cf10a18b40e29998fa6a9e46f020ab8" have entirely different histories.
2b12ce769c
...
bf33c2ab7c
|
@ -1,2 +0,0 @@
|
||||||
collectd_plugins:
|
|
||||||
thermal: true
|
|
|
@ -42,7 +42,6 @@ vmagent_scrape_configs:
|
||||||
- https://tabitha.biz/
|
- https://tabitha.biz/
|
||||||
- https://dustinandtabitha.com/
|
- https://dustinandtabitha.com/
|
||||||
- https://hatchlearningcenter.org/
|
- https://hatchlearningcenter.org/
|
||||||
- https://invoiceninja.pyrocufflink.net/
|
|
||||||
relabel_configs:
|
relabel_configs:
|
||||||
- source_labels: [__address__]
|
- source_labels: [__address__]
|
||||||
target_label: __param_target
|
target_label: __param_target
|
||||||
|
|
|
@ -246,27 +246,26 @@ vm_autostart:
|
||||||
- dc-headphone
|
- dc-headphone
|
||||||
- delay 30s
|
- delay 30s
|
||||||
- loki1
|
- loki1
|
||||||
- logs-dusk
|
|
||||||
- delay 10s
|
- delay 10s
|
||||||
- db0
|
- db0
|
||||||
- ctrl-crave
|
- k8s-ctrl0
|
||||||
- ctrl-sycamore
|
|
||||||
- delay 10s
|
- delay 10s
|
||||||
- stor-alfalfa
|
- stor-alfalfa
|
||||||
- stor-rentable
|
- stor-rentable
|
||||||
- node-abreast
|
- node-abreast
|
||||||
- node-direction
|
|
||||||
- node-gleaming
|
- node-gleaming
|
||||||
- node-hatbox
|
- node-hatbox
|
||||||
|
- node-refrain
|
||||||
- delay 15s
|
- delay 15s
|
||||||
- web0
|
- web0
|
||||||
- file0
|
- file0
|
||||||
- cloud0
|
- cloud0
|
||||||
|
- bw0
|
||||||
- delay 5s
|
- delay 5s
|
||||||
- smtp1
|
- smtp1
|
||||||
- delay 10s
|
- delay 10s
|
||||||
- pxe0
|
- pxe0
|
||||||
- unifi-nuptials
|
- unifi3
|
||||||
|
|
||||||
promtail_dac_read_search: true
|
promtail_dac_read_search: true
|
||||||
promtail_scrape_configs:
|
promtail_scrape_configs:
|
||||||
|
|
6
hosts
6
hosts
|
@ -97,6 +97,7 @@ file0.pyrocufflink.blue
|
||||||
burp-server
|
burp-server
|
||||||
|
|
||||||
[k8s-controller]
|
[k8s-controller]
|
||||||
|
k8s-ctrl0.pyrocufflink.blue
|
||||||
ctrl-2ed8d3.k8s.pyrocufflink.black
|
ctrl-2ed8d3.k8s.pyrocufflink.black
|
||||||
|
|
||||||
[k8s-iot-net-ctrl]
|
[k8s-iot-net-ctrl]
|
||||||
|
@ -184,6 +185,7 @@ dc-headphone.pyrocufflink.blue
|
||||||
file0.pyrocufflink.blue
|
file0.pyrocufflink.blue
|
||||||
git0.pyrocufflink.blue
|
git0.pyrocufflink.blue
|
||||||
haproxy0.pyrocufflink.blue
|
haproxy0.pyrocufflink.blue
|
||||||
|
k8s-ctrl0.pyrocufflink.blue
|
||||||
loki1.pyrocufflink.blue
|
loki1.pyrocufflink.blue
|
||||||
nut1.pyrocufflink.blue
|
nut1.pyrocufflink.blue
|
||||||
nvr2.pyrocufflink.blue
|
nvr2.pyrocufflink.blue
|
||||||
|
@ -197,13 +199,9 @@ web0.pyrocufflink.blue
|
||||||
samba-dc
|
samba-dc
|
||||||
|
|
||||||
[raspberry-pi]
|
[raspberry-pi]
|
||||||
ctrl-2ed8d3.k8s.pyrocufflink.black
|
|
||||||
node-474c83.k8s.pyrocufflink.black
|
node-474c83.k8s.pyrocufflink.black
|
||||||
nut1.pyrocufflink.blue
|
nut1.pyrocufflink.blue
|
||||||
|
|
||||||
[raspberry-pi:children]
|
|
||||||
cm4-k8s-node
|
|
||||||
|
|
||||||
[remote-blackbox]
|
[remote-blackbox]
|
||||||
vps-04485add.vps.ovh.us
|
vps-04485add.vps.ovh.us
|
||||||
|
|
||||||
|
|
7
newvm.sh
7
newvm.sh
|
@ -138,11 +138,6 @@ if [ -z "${LIBVIRT_DEFAULT_URI}" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ${fedora} -gt 40 ] && [ ${memory} -lt 4096 ]; then
|
|
||||||
printf 'WARNING Fedora 41+ requires at least 4 GB memory to install\n' >&2
|
|
||||||
memory=4096
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ${default_groups}; then
|
if ${default_groups}; then
|
||||||
groups_xml="<group name=\"chrony\"/>${groups_xml}"
|
groups_xml="<group name=\"chrony\"/>${groups_xml}"
|
||||||
groups_xml="<group name=\"collectd\"/>${groups_xml}"
|
groups_xml="<group name=\"collectd\"/>${groups_xml}"
|
||||||
|
@ -182,7 +177,7 @@ set -- \
|
||||||
--extra-args "${extra_args}" \
|
--extra-args "${extra_args}" \
|
||||||
--disk pool=default,size=${disk_size},cache=none \
|
--disk pool=default,size=${disk_size},cache=none \
|
||||||
--network ${network} \
|
--network ${network} \
|
||||||
--os-variant fedora-rawhide \
|
--os-variant fedora$(rpm -E %fedora) \
|
||||||
--console pty,target.type=serial,log.file=/var/log/libvirt/console/${name}.log \
|
--console pty,target.type=serial,log.file=/var/log/libvirt/console/${name}.log \
|
||||||
--sound none \
|
--sound none \
|
||||||
--redirdev none \
|
--redirdev none \
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
[Service]
|
|
||||||
ExecStartPre=+/bin/mkdir -p %t/libvirt/network
|
|
||||||
ExecStartPre=+/bin/chcon -t virtnetworkd_var_run_t %t/libvirt/network
|
|
|
@ -4,8 +4,6 @@ After=libvirt.service
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
RequiresMountsFor=/var/lib/libvirt/images
|
RequiresMountsFor=/var/lib/libvirt/images
|
||||||
StartLimitInterval=1s
|
|
||||||
StartLimitBurst=1
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
@ -13,8 +11,9 @@ RemainAfterExit=yes
|
||||||
Environment=LIBVIRT_DEFAULT_URI=qemu:///system
|
Environment=LIBVIRT_DEFAULT_URI=qemu:///system
|
||||||
ExecStart=/usr/local/libexec/vm-autostart.sh
|
ExecStart=/usr/local/libexec/vm-autostart.sh
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=1
|
|
||||||
|
|
||||||
|
DynamicUser=yes
|
||||||
|
SupplementaryGroups=libvirt
|
||||||
CapabilityBoundingSet=
|
CapabilityBoundingSet=
|
||||||
DeviceAllow=
|
DeviceAllow=
|
||||||
DevicePolicy=closed
|
DevicePolicy=closed
|
||||||
|
|
|
@ -5,8 +5,6 @@ if [ ! -r /etc/vm-autostart ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
virsh connect || exit
|
|
||||||
|
|
||||||
while read name args; do
|
while read name args; do
|
||||||
if [ "${name}" = delay ]; then
|
if [ "${name}" = delay ]; then
|
||||||
sleep ${args}
|
sleep ${args}
|
||||||
|
|
|
@ -40,31 +40,6 @@
|
||||||
tags:
|
tags:
|
||||||
- log-dir
|
- log-dir
|
||||||
|
|
||||||
- name: ensure virtnetworkd.service drop-in directory exists
|
|
||||||
file:
|
|
||||||
path: /etc/systemd/system/virtnetworkd.service.d
|
|
||||||
owner: root
|
|
||||||
group: root
|
|
||||||
mode: u=rwx,go=rx
|
|
||||||
state: directory
|
|
||||||
tags:
|
|
||||||
- systemd
|
|
||||||
- virtnetworkd-selinux-bug
|
|
||||||
- 'rhbz#2362040'
|
|
||||||
- name: 'ensure virtnetworkd selinux bug work-around is in place (rhbz#2362040)'
|
|
||||||
copy:
|
|
||||||
src: fix-run-libvirt-network.conf
|
|
||||||
dest: /etc/systemd/system/virtnetworkd.service.d/
|
|
||||||
owner: root
|
|
||||||
group: root
|
|
||||||
mode: u=rw,go=r
|
|
||||||
notify:
|
|
||||||
- reload systemd
|
|
||||||
tags:
|
|
||||||
- systemd
|
|
||||||
- virtnetworkd-selinux-bug
|
|
||||||
- 'rhbz#2362040'
|
|
||||||
|
|
||||||
- name: ensure libvirtd starts at boot
|
- name: ensure libvirtd starts at boot
|
||||||
service:
|
service:
|
||||||
name: '{{ item }}'
|
name: '{{ item }}'
|
||||||
|
|
Loading…
Reference in New Issue