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://dustinandtabitha.com/
|
||||
- https://hatchlearningcenter.org/
|
||||
- https://invoiceninja.pyrocufflink.net/
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
|
|
|
@ -246,27 +246,26 @@ vm_autostart:
|
|||
- dc-headphone
|
||||
- delay 30s
|
||||
- loki1
|
||||
- logs-dusk
|
||||
- delay 10s
|
||||
- db0
|
||||
- ctrl-crave
|
||||
- ctrl-sycamore
|
||||
- k8s-ctrl0
|
||||
- delay 10s
|
||||
- stor-alfalfa
|
||||
- stor-rentable
|
||||
- node-abreast
|
||||
- node-direction
|
||||
- node-gleaming
|
||||
- node-hatbox
|
||||
- node-refrain
|
||||
- delay 15s
|
||||
- web0
|
||||
- file0
|
||||
- cloud0
|
||||
- bw0
|
||||
- delay 5s
|
||||
- smtp1
|
||||
- delay 10s
|
||||
- pxe0
|
||||
- unifi-nuptials
|
||||
- unifi3
|
||||
|
||||
promtail_dac_read_search: true
|
||||
promtail_scrape_configs:
|
||||
|
|
6
hosts
6
hosts
|
@ -97,6 +97,7 @@ file0.pyrocufflink.blue
|
|||
burp-server
|
||||
|
||||
[k8s-controller]
|
||||
k8s-ctrl0.pyrocufflink.blue
|
||||
ctrl-2ed8d3.k8s.pyrocufflink.black
|
||||
|
||||
[k8s-iot-net-ctrl]
|
||||
|
@ -184,6 +185,7 @@ dc-headphone.pyrocufflink.blue
|
|||
file0.pyrocufflink.blue
|
||||
git0.pyrocufflink.blue
|
||||
haproxy0.pyrocufflink.blue
|
||||
k8s-ctrl0.pyrocufflink.blue
|
||||
loki1.pyrocufflink.blue
|
||||
nut1.pyrocufflink.blue
|
||||
nvr2.pyrocufflink.blue
|
||||
|
@ -197,13 +199,9 @@ web0.pyrocufflink.blue
|
|||
samba-dc
|
||||
|
||||
[raspberry-pi]
|
||||
ctrl-2ed8d3.k8s.pyrocufflink.black
|
||||
node-474c83.k8s.pyrocufflink.black
|
||||
nut1.pyrocufflink.blue
|
||||
|
||||
[raspberry-pi:children]
|
||||
cm4-k8s-node
|
||||
|
||||
[remote-blackbox]
|
||||
vps-04485add.vps.ovh.us
|
||||
|
||||
|
|
7
newvm.sh
7
newvm.sh
|
@ -138,11 +138,6 @@ if [ -z "${LIBVIRT_DEFAULT_URI}" ]; then
|
|||
exit 1
|
||||
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
|
||||
groups_xml="<group name=\"chrony\"/>${groups_xml}"
|
||||
groups_xml="<group name=\"collectd\"/>${groups_xml}"
|
||||
|
@ -182,7 +177,7 @@ set -- \
|
|||
--extra-args "${extra_args}" \
|
||||
--disk pool=default,size=${disk_size},cache=none \
|
||||
--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 \
|
||||
--sound 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
|
||||
Wants=network-online.target
|
||||
RequiresMountsFor=/var/lib/libvirt/images
|
||||
StartLimitInterval=1s
|
||||
StartLimitBurst=1
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
@ -13,8 +11,9 @@ RemainAfterExit=yes
|
|||
Environment=LIBVIRT_DEFAULT_URI=qemu:///system
|
||||
ExecStart=/usr/local/libexec/vm-autostart.sh
|
||||
Restart=on-failure
|
||||
RestartSec=1
|
||||
|
||||
DynamicUser=yes
|
||||
SupplementaryGroups=libvirt
|
||||
CapabilityBoundingSet=
|
||||
DeviceAllow=
|
||||
DevicePolicy=closed
|
||||
|
|
|
@ -5,8 +5,6 @@ if [ ! -r /etc/vm-autostart ]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
virsh connect || exit
|
||||
|
||||
while read name args; do
|
||||
if [ "${name}" = delay ]; then
|
||||
sleep ${args}
|
||||
|
|
|
@ -40,31 +40,6 @@
|
|||
tags:
|
||||
- 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
|
||||
service:
|
||||
name: '{{ item }}'
|
||||
|
|
Loading…
Reference in New Issue