diff --git a/dom0/aux-tools/reset_vm_configs.py b/dom0/aux-tools/reset_vm_configs.py deleted file mode 100755 index e7e6841e..00000000 --- a/dom0/aux-tools/reset_vm_configs.py +++ /dev/null @@ -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() diff --git a/rpm_spec/core-dom0.spec b/rpm_spec/core-dom0.spec index 388ee256..2b56e349 100644 --- a/rpm_spec/core-dom0.spec +++ b/rpm_spec/core-dom0.spec @@ -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*