search for: ismount

Displaying 5 results from an estimated 5 matches for "ismount".

Did you mean: dismount
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...os.system("echo \"anyterm ALL=NOPASSWD: /usr/bin/virsh console *\" >> /etc/sudoers") + +# mount livecd media +# e.g. CD /dev/sr0, USB /dev/sda1, +# PXE /dev/loop0 (loopback ISO) +# not available when booted from local disk installation +def mount_live(): + if os.path.ismount("/live"): + return + + live_dev="/dev/live" + if not os.path.exists(live_dev): + ret = os.system("losetup /dev/loop0|grep -q '\.iso'") + if ret == 0: + # PXE boot + live_dev="/dev/loop0" + else:...
2008 Aug 21
0
kickstart error on 5.2 exception
...lInterface instance at 0x2b2104c91a70>> id.fsset.migratedfs: 1 id.fsset.waitWindow: <bound method InstallInterface.waitWindow of <gui.InstallInterface instance at 0x2b2104c91a70>> id.fsset.entries: [fsentry -- device: sda1 mountpoint: / fsystem: ext3 format: True ismounted: 1 options: 'defaults' bytesPerInode: 4096 label: / , fsentry -- device: sda3 mountpoint: /home fsystem: ext3 format: True ismounted: 1 options: 'defaults' bytesPerInode: 4096 label: /home , fsentry -- device: shm mountpoint: /dev/shm fsystem: tmpfs format: 0 i...
2010 Oct 26
0
[PATCH node] add install.py
...found_boot = True + grub_dev_label = "Boot" + rc = os.system("findfs LABEL=Root 2>&1 >/dev/null") + if rc == 0: + found_boot = False + grub_dev_label = "Root" + if found_boot: + mount_boot() + if not os.path.ismount("/boot"): + log("Boot partition not available") + sys.exit(1) + # Grab OVIRT_ISCSI VARIABLES from boot partition for upgrading + # file created only if OVIRT_ISCSI_ENABLED=y + if os.path.exists("/boot/ovirt"): + try...
2007 Jun 13
2
Device /dev/mapper/vg00-virt--linuxtest_32--0 is mounted in a guest domain, and so cannot be mounted now.
I tried to start a linux hvm domain (just for testing some things compared to a pv domain), and it didn''t start up. I then did a ''xm shutdown'', which didn''t work, then a ''xm destroy'', and from then the ''xm list'' function just hung. I then restarted xend, and ''xm list'' works, but now when I try to start the
2011 Jul 20
0
[PATCH] fix ipv4 static/dhcp/disabled networking changes
...nctions.py @@ -604,7 +604,7 @@ def remove_config(files): if os.path.exists("/config/files"): if os.path.getsize('/config/files') == 0: print "There are currently no persisted files." - return True + return True if os.path.ismount("/config"): if isinstance(files,STRING_TYPE): files_list = [] -- 1.7.5.4