From ea030c23794591112a4bed384111691209a8df3c Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Tue, 10 Jul 2018 10:15:08 +0200 Subject: Moved KVM stuff to own repository, kvm-helper.git --- etc/systemd/system/cluster-muromachi.target | 6 ------ etc/systemd/system/kvm-clustervm@.service | 25 ------------------------- etc/systemd/system/kvm-infravm@.service | 22 ---------------------- etc/systemd/system/kvm-network@.service | 15 --------------- 4 files changed, 68 deletions(-) delete mode 100644 etc/systemd/system/cluster-muromachi.target delete mode 100644 etc/systemd/system/kvm-clustervm@.service delete mode 100644 etc/systemd/system/kvm-infravm@.service delete mode 100644 etc/systemd/system/kvm-network@.service (limited to 'etc/systemd') diff --git a/etc/systemd/system/cluster-muromachi.target b/etc/systemd/system/cluster-muromachi.target deleted file mode 100644 index ec63edc..0000000 --- a/etc/systemd/system/cluster-muromachi.target +++ /dev/null @@ -1,6 +0,0 @@ -[Unit] -Description=Cluster "muromachi_cl" -BindsTo=kvm-clustervm@centoscl0.service kvm-clustervm@centoscl1.service kvm-clustervm@centoscl2.service - -[Install] -WantedBy=multi-user.target diff --git a/etc/systemd/system/kvm-clustervm@.service b/etc/systemd/system/kvm-clustervm@.service deleted file mode 100644 index 9300f38..0000000 --- a/etc/systemd/system/kvm-clustervm@.service +++ /dev/null @@ -1,25 +0,0 @@ -[Unit] -Description=VM %i (with cluster inside) -Requires=kvm-infravm@iscsi.service -After=kvm-infravm@iscsi.service -Requires=libvirtd.service -Requires=kvm-firewall.service -Requires=kvm-network@sosaria05.service -Requires=kvm-network@san-cluster.service -After=kvm-firewall.service -After=libvirtd.service -After=lvm2-monitor.service -After=kvm-network@sosaria05.service -After=kvm-network@san-cluster.service -PartOf=cluster-muromachi.target - -[Service] -Type=oneshot -ExecStart=/usr/local/bin/kvmhelper -q vm-start %i -ExecStop=/usr/local/bin/kvmhelper -q vm-stop %i -RemainAfterExit=yes -TimeoutStartSec=10s -TimeoutStopSec=60s - -[Install] -WantedBy=cluster-muromachi.target diff --git a/etc/systemd/system/kvm-infravm@.service b/etc/systemd/system/kvm-infravm@.service deleted file mode 100644 index d07150c..0000000 --- a/etc/systemd/system/kvm-infravm@.service +++ /dev/null @@ -1,22 +0,0 @@ -[Unit] -Description=Infrastructural VM %i -Requires=libvirtd.service -Requires=kvm-firewall.service -Requires=kvm-network@sosaria05.service -Requires=kvm-network@san-cluster.service -After=kvm-firewall.service -After=libvirtd.service -After=lvm2-monitor.service -After=kvm-network@sosaria05.service -After=kvm-network@san-cluster.service - -[Service] -Type=oneshot -ExecStart=/usr/local/bin/kvmhelper -q vm-start %i -ExecStop=/usr/local/bin/kvmhelper -q vm-stop %i -RemainAfterExit=yes -TimeoutStartSec=10s -TimeoutStopSec=60s - -[Install] -WantedBy=multi-user.target diff --git a/etc/systemd/system/kvm-network@.service b/etc/systemd/system/kvm-network@.service deleted file mode 100644 index aca4e4b..0000000 --- a/etc/systemd/system/kvm-network@.service +++ /dev/null @@ -1,15 +0,0 @@ -[Unit] -Description=KVM network %i -Requires=libvirtd.service -After=libvirtd.service - -[Service] -Type=oneshot -ExecStart=/usr/local/bin/kvmhelper -q net-start %i -ExecStop=/usr/local/bin/kvmhelper -q net-stop %i -RemainAfterExit=yes -TimeoutStartSec=10s -TimeoutStopSec=10s - -[Install] -WantedBy=multi-user.target -- cgit v1.2.3