-#!/usr/bin/python
+#!/usr/bin/python2
#
# Copyright (c) 2003 Intel Corporation
# All rights reserved.
utils.sysexec("mount -t {} {} {}/vservers"\
.format(fstype, PARTITIONS["vservers"], SYSIMG_PATH), log)
- if vars['virt']=='lxc':
+ #if vars['virt']=='lxc':
# NOTE: btrfs quota is supported from version: >= btrfs-progs-0.20 (f18+)
# older versions will not recongize the 'quota' command.
- log.write("Enabling btrfs quota on {}/vservers\n".format(SYSIMG_PATH))
- utils.sysexec_noerr("btrfs quota enable {}/vservers".format(SYSIMG_PATH))
+ #log.write("Enabling btrfs quota on {}/vservers\n".format(SYSIMG_PATH))
+ #utils.sysexec_noerr("btrfs quota enable {}/vservers".format(SYSIMG_PATH))
vars['ROOT_MOUNTED'] = 1
with open("{}/etc/planetlab/virt".format(sysimg)) as infile:
installed_virt = infile.read().strip()
except Exception as e:
- print_exc()
+ traceback.print_exc()
raise BootManagerException("Could not retrieve data about previous installation - cannot upgrade")
# moving from vservers to lxc also means another filesystem