diff --git a/README.md b/README.md index 276dd5b..f57a82e 100644 --- a/README.md +++ b/README.md @@ -4,16 +4,16 @@ This repository contain scripts for managing KVM hypervisors used with DRBD and It contains the following scripts. -- add-vm.sh: create DBRD volumes and virtual machines. -- kvmstats.sh: gives informations about defined virtual machines. +- add-vm: create DBRD volumes and virtual machines. +- kvmstats: gives informations about defined virtual machines. ## Install Copy the scripts to /usr/local/sbin: ~~~ -install -m 0755 add-vm.sh /usr/local/sbin/add-vm -install -m 0755 kvmstats.sh /usr/local/sbin/kvmstats +install -m 0755 add-vm /usr/local/sbin/add-vm +install -m 0755 kvmstats /usr/local/sbin/kvmstats ~~~ Edit configuration in /etc/evolinux/add-vm.cnf: @@ -23,7 +23,7 @@ masterKVMIP=192.168.0.X slaveKVMIP=192.168.0.Y ~~~ -Script add-vm.sh assume you have two LVM Volume Group named "ssd" and "hdd". +Script add-vm assume you have two LVM Volume Group named "ssd" and "hdd". You can override this by adding a Bash array in /etc/evolinux/add-vm.cnf, eg: diff --git a/add-vm.sh b/add-vm old mode 100644 new mode 100755 similarity index 100% rename from add-vm.sh rename to add-vm diff --git a/kvmstats.sh b/kvmstats old mode 100644 new mode 100755 similarity index 100% rename from kvmstats.sh rename to kvmstats