2017-10-19 15:30:07 +00:00
|
|
|
All systems have a UUID, even VMs. Use that for system UUID in the future.
|
|
|
|
|
2018-01-17 21:10:07 +00:00
|
|
|
virt-manager stores information in dconf-editor -> /org/virt-manager/virt-manager/connections ($HOME/.config/dconf/user)
|
|
|
|
|
|
|
|
==== dconf read /org/virt-manager/virt-manager/connections/uris
|
|
|
|
['qemu+ssh://root@localhost/system', 'qemu+ssh://root@wp-a01n02.remote/system', 'qemu+ssh://root@an-nas02.kw01.alteeve.ca/system', 'qemu+ssh://root@hb-a01n01.remote/system', 'qemu+ssh://root@hb-a01n02.remote/system', 'qemu:///system']
|
|
|
|
==== dconf read /org/virt-manager/virt-manager/connections/autoconnect
|
|
|
|
['qemu+ssh://root@localhost/system']
|
|
|
|
====
|
2017-10-19 15:30:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Setup - Striker
|
|
|
|
|
|
|
|
# Packages
|
2017-10-20 04:19:32 +00:00
|
|
|
depends on: perl-XML-Simple postgresql-server postgresql-plperl postgresql-contrib perl-CGI perl-NetAddr-IP perl-DBD-Pg rsync perl-Log-Journald perl-Net-SSH2
|
2017-10-19 15:30:07 +00:00
|
|
|
|
|
|
|
# Paths
|
2017-10-20 04:19:32 +00:00
|
|
|
mkdir /usr/sbin/anvil
|
2017-10-19 15:30:07 +00:00
|
|
|
|
|
|
|
# virsh
|
|
|
|
virsh net-destroy default
|
|
|
|
virsh net-autostart default --disable
|
|
|
|
virsh net-undefine default
|
|
|
|
|
|
|
|
# Web - TODO: Setup to auto-use "Let's Encrypt", but make sure we have an offline fall-back
|
|
|
|
systemctl enable httpd.service
|
|
|
|
systemctl start httpd.service
|
|
|
|
|
|
|
|
# Post install
|
|
|
|
systemctl daemon-reload
|
|
|
|
|
|
|
|
# Firewall
|
|
|
|
firewall-cmd --permanent --add-service=http
|
|
|
|
firewall-cmd --permanent --add-service=postgresql
|
|
|
|
firewall-cmd --reload
|
|
|
|
|
|
|
|
# SELinux
|
|
|
|
restorecon -rv /var/www
|
|
|
|
|
|
|
|
=============================================================
|
|
|
|
[root@striker-m3 ~]# cat watch_logs
|
2017-10-20 04:19:32 +00:00
|
|
|
clear; journalctl -f -a -S "$(date +"%F %R:%S")" -t anvil
|