dom0: remove unused reset_vm_configs.py

This commit is contained in:
Marek Marczykowski 2012-04-30 13:29:01 +02:00
parent db6eb497a6
commit 9c7ab91491
2 changed files with 0 additions and 26 deletions

View File

@ -1,24 +0,0 @@
#!/usr/bin/python2.6
from qubes.qubes import QubesVmCollection
import sys
def main():
if len(sys.argv) != 2:
print 'Usage: fixconf templatename'
sys.exit(1)
qvm_collection = QubesVmCollection()
qvm_collection.lock_db_for_reading()
qvm_collection.load()
qvm_collection.unlock_db()
templ = sys.argv[1]
tvm = qvm_collection.get_vm_by_name(templ)
if tvm is None:
print 'Template', templ, 'does not exist'
sys.exit(1)
if not tvm.is_template():
print templ, 'is not a template'
sys.exit(1)
for vm in qvm_collection.values():
if vm.template is not None and vm.template.qid == tvm.qid:
vm.create_config_file()
main()

View File

@ -102,7 +102,6 @@ cp aux-tools/convert_apptemplate2vm.sh $RPM_BUILD_ROOT/usr/lib/qubes
cp aux-tools/convert_dirtemplate2vm.sh $RPM_BUILD_ROOT/usr/lib/qubes
cp aux-tools/create_apps_for_appvm.sh $RPM_BUILD_ROOT/usr/lib/qubes
cp aux-tools/remove_appvm_appmenus.sh $RPM_BUILD_ROOT/usr/lib/qubes
cp aux-tools/reset_vm_configs.py $RPM_BUILD_ROOT/usr/lib/qubes
cp qmemman/server.py $RPM_BUILD_ROOT/usr/lib/qubes/qmemman_daemon.py
cp ../misc/meminfo-writer $RPM_BUILD_ROOT/usr/lib/qubes/
cp ../qrexec/qrexec_daemon $RPM_BUILD_ROOT/usr/lib/qubes/
@ -331,7 +330,6 @@ fi
/usr/lib/qubes/convert_dirtemplate2vm.sh
/usr/lib/qubes/create_apps_for_appvm.sh
/usr/lib/qubes/remove_appvm_appmenus.sh
/usr/lib/qubes/reset_vm_configs.py*
/usr/lib/qubes/qmemman_daemon.py*
/usr/lib/qubes/meminfo-writer
/usr/lib/qubes/qfile-daemon-dvm*