The script is now fully automatic

This commit is contained in:
TechHome
2020-05-28 13:09:51 +02:00
committed by GitHub
parent 4a307a4edd
commit 3019adc8f2
+7 -4
View File
@@ -12,10 +12,13 @@ systemctl stop pve-cluster
#3. edit through sqlite, check, delete, verify
sqlite3 /var/lib/pve-cluster/config.db
sqlite> select * from tree where name = 'corosync.conf';
sqlite> delete from tree where name = 'corosync.conf';
sqlite> select * from tree where name = 'corosync.conf';
sqlite3 /var/lib/pve-cluster/config.db <<EOF
select * from tree where name = 'corosync.conf';
delete from tree where name = 'corosync.conf';
select * from tree where name = 'corosync.conf';
.quit
EOF
sqlite> .quit