search for: isofile

Displaying 20 results from an estimated 23 matches for "isofile".

Did you mean: is_file
2009 Dec 15
1
[PATCH] If the specified ISO does not exist, then the script dies.
...ure. Signed-off-by: Darryl L. Pierce <dpierce at redhat.com> --- autotest.sh | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/autotest.sh b/autotest.sh index c67931a..904b961 100755 --- a/autotest.sh +++ b/autotest.sh @@ -723,6 +723,10 @@ done isoname=$(basename $isofile) isofile="$(cd `dirname $isofile`; pwd)/${isoname}" +if ! [ -s "${isofile}" ]; then + die "Missing or invalid file: ${isofile}" +fi + shift $(($OPTIND - 1)) set +u -- 1.6.5.2
2013 Mar 11
2
menu.c32: not a COM32R image
...nux.bin cp -f .${SYSLINUX_PATH}/menu.c32 $DEST cp -f .${SYSLINUX_PATH}/isolinux.bin $DEST cd $PWD rm -rf $SYSLINUX_TMPDIR } createiso() { TYPE=$1 if [ $TYPE == "rescue" ]; then CONFIG="/local/kickstart/templates/isolinux-${OS}-rescue.cfg" ISOFILE="${HOST}-rescue.iso" # KS="/local/kickstart/ks/${HOST}-rescue.ks" else CONFIG="/local/kickstart/templates/isolinux-${OS}-${MAJOR}.cfg" ISOFILE="${HOST}.iso" # KS="/local/kickstart/ks/${HOST}.ks" fi MAJOR=`...
2010 Mar 26
3
[PATCH node] Update autobuild and autotest scripts for new build structure
...+ +# setup a node for pxeboot +# $1 - the working directory +# $2 - kernel arguments; if present then they replace all default flags +setup_pxeboot () { + local workdir=$1 + local kernelargs=$2 + local pxedefault=$workdir/tftpboot/pxelinux.cfg/default + + debug "setup for pxeboot: isofile=${isofile} workdir=${workdir} kernelargs='${kernelargs}' pxedefault=${pxedefault}" + (cd $workdir && sudo livecd-iso-to-pxeboot $isofile) > /dev/null 2>&1 + sudo chmod -R 777 $workdir + + # set default kernel arguments if none were provided + # the default...
2009 Jul 21
2
[PATCH node-image] Adds a preserve option for autotest VMs.
..."${nodename}" ]]; then @@ -670,6 +676,7 @@ setup_for_testing () { NODE_ADDRESS=$NETWORK.100 debug "NODE_ADDRESS=${NODE_ADDRESS}" DNSMASQ_PID=0 + debug "preserve_vm=${preserve_vm}" } # cleans up any loose ends @@ -691,12 +698,14 @@ debugging=false isofile="${PWD}/ovirt-node-image.iso" show_viewer=false vm_prefix="$$" +preserve_vm=false -while getopts di:n:vwh c; do +while getopts di:n:pvwh c; do case $c in d) debugging=true;; i) isofile=($OPTARG);; n) tests=($OPTARG);; + p) preserve_vm=true;;...
2013 Mar 01
2
Booting an ISO with FreeDOS over PXE with memdisk
I've got $SUBJ almost working except for the DOS bit where the CD needs to be read. My pxe config: label Firmware menu label Update IPMI firmware kernel memdisk append keeppxe raw iso initrd=<isofile> The ISO is about 400Mb, and works fine when I boot it from an actual CDROM drive. It also boots fine over PXE, I can see FreeDOS being booted up etc. The problem is - once in DOS, there is no access to the CD. The CDROM driver doesn't load due to "no cdrom found". Does this ri...
2009 Dec 15
1
[PATCH] The autotest timeout is now a command line configurable option.
...nodename}"' @@ -608,7 +609,7 @@ exit 3' boot_from_hd "${nodename}" expect -c ' -set timeout 120 +set timeout '${timeout_period}' log_file stateful-pxe.log send_log "Restarted node, booting from hard disk.\n" @@ -704,13 +705,15 @@ isofile="${PWD}/ovirt-node-image.iso" show_viewer=false vm_prefix="$$" preserve_vm=false +timeout_period="120" -while getopts di:n:pvwh c; do +while getopts di:n:pt:vwh c; do case $c in d) debugging=true;; i) isofile=($OPTARG);; n) tests=($...
2010 Aug 13
2
Plans for changing libguestfs appliance building
...CD device ext2.ko if required /sbin/modprobe a tiny init script, written in C (c) An ext2 image is created for the root filesystem. I will say a lot more about how this is created below. (d) qemu is invoked with something along these lines: qemu -kernel kernel -initrd initrd -drive file=isofile,media=cdrom where: kernel = kernel found in step (a) initrd = tiny initrd created in step (b) isofile = ext2 filesystem image created in step (c) (e) The boot process proceeds by starting the kernel, reading the /init script from the tiny initrd which mounts the filesystem from the...
2011 Jul 28
2
problems with xen and hvm
...9;'hvm'' device_model = ''/usr/lib/xen-4.0/bin/qemu-dm'' memory = ''512'' shadow_memory = ''8'' # drives #root = ''/dev/sda1'' disk = [ ''phy:/dev/sdb,ioemu:xvda,w'', ''file:/home/isofiles/ubuntu-11.04-server-i386.iso,ioemu:hdc:cdrom,r'' ] # hostname name = ''phyfog'' # networking dhcp = ''dhcp'' vif = [''mac=00:16:3e:11:22:33,type=ioemu, bridge=xenbr0''] # behaviour boot=''d'' on_poweroff = ''dest...
2009 Oct 21
4
5.4 at last?
Now that it appears that some folks are able to get the 5.4 downloads (and a GREAT BIG THANK YOU to all the centos team members who make this possible!) I'm wondering when the updates will begin flowing so that those of us running 5.3 can do "yum upgrade" and enjoy all the benefits too? Thanks in advance! -- ---- Fred Smith -- fredex at fcshome.stoneham.ma.us
2006 Oct 13
1
"Xenoppix-x86-64(Xen3.0.2+KNOPPIX-x86_64-5.0.1) CD size" is released.
...for HVM Domain, noswap nosmp noapic nolapic) It is used to run KNOPPIX-x86_64 on HVM. * KNOPPIX (normal kernel) It is used to run as normal KNOPPIX-x86_64. To run HVM "knoppixHVM" command runs Xenoppix on HVM or other CD bootable OSes. # knoppixHVM # knoppixHVM [/path/to/isofile] [domain name] To run DomainU "knoppixU" command runs Xenoppix on DomainU. Unfortunately GUI is not supported because Xvnc is supported for X86_64. # knoppixU # Performance of KNOPPIX-x86_64 We compared Pi calculation on KNOPPIX-x86_64 and KNOPPIX32. The software calculates...
2016 Jan 02
0
[PATCH] customize: Document missing command line parameters in the synopsis.
...customize.pod +++ b/customize/virt-customize.pod @@ -4,10 +4,17 @@ virt-customize - Customize a virtual machine =head1 SYNOPSIS - virt-customize [--options] - [ -d domname | -a disk.img [-a disk.img ...] ] + virt-customize + [ -a disk.img [ -a disk.img ... ] | -d domname ] + [--attach ISOFILE] [--attach-format FORMAT] + [ -c URI | --connect URI ] [ -n | --dry-run ] + [ --format FORMAT] [ -m MB | --memsize MB ] + [ --network | --no-network ] + [ -q | --quiet ] [--smp N] [ -v | --verbose ] [-x] __CUSTOMIZE_SYNOPSIS__ + virt-customize [ -V | --version ] + =head1 DESCRIPTION...
2016 Jan 14
0
[PATCH 2/2] builder: allow a specific template for --list
...Notes -> (match args with diff --git a/builder/virt-builder.pod b/builder/virt-builder.pod index 545b134..9a49138 100644 --- a/builder/virt-builder.pod +++ b/builder/virt-builder.pod @@ -16,7 +16,7 @@ virt-builder - Build virtual machine images quickly [--arch ARCHITECTURE] [--attach ISOFILE] __CUSTOMIZE_SYNOPSIS__ - virt-builder -l|--list [--long] [--list-format short|long|json] + virt-builder -l|--list [--long] [--list-format short|long|json] [os-version] virt-builder --notes os-version @@ -311,15 +311,16 @@ alternate home directory: virt-builder --gpg "gpg --homedi...
2008 Sep 04
1
Error: Device 5632 (vbd) could not be connected.
Hi all, got this every time: Error: Device 5632 (vbd) could not be connected. Backend device not found. didn''t have any problem in b95 Any idea? thanks Philip xm info host : snv release : 5.11 version : snv_97 machine : i86pc nr_cpus : 2 nr_nodes : 1 sockets_per_node : 1
2016 Jan 14
2
[PATCH 1/2] builder: move os-version search in own function
Simple code motion, no behaviour changes. --- builder/builder.ml | 46 ++++++++++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 20 deletions(-) diff --git a/builder/builder.ml b/builder/builder.ml index 9c26573..ec9919f 100644 --- a/builder/builder.ml +++ b/builder/builder.ml @@ -75,6 +75,30 @@ let remove_duplicates index = false ) index +(* Look for the
2014 Mar 10
2
[PATCH] builder: complete architecture handling
...4 --- a/builder/virt-builder.pod +++ b/builder/virt-builder.pod @@ -15,6 +15,8 @@ virt-builder - Build virtual machine images quickly virt-builder os-version [-o|--output DISKIMAGE] [--size SIZE] [--format raw|qcow2] + [--allow-foreign-arch-ops] + [--arch ARCHITECTURE] [--attach ISOFILE] [--root-password SELECTOR] [--hostname HOSTNAME] @@ -81,7 +83,9 @@ are any installation notes: virt-builder fedora-20 -will build a Fedora 20 image. This will have all default +will build a Fedora 20 image for the same architecture as virt-builder +(so running it from an i386 inst...
2014 Mar 11
4
Re: [PATCH] builder: complete architecture handling
On Tuesday 11 March 2014 10:09:45 Richard W.M. Jones wrote: > On Mon, Mar 10, 2014 at 02:28:20PM +0100, Pino Toscano wrote: > > Add the possibility to choose which architecture use to build the > > wanted image (--arch). Since this implies that running commands on > > the guest is usually not possible when the architecture is > > different than the host one, another new
2014 Jan 10
3
[PATCH 0/3] Timezone and keyboard layout settings in virt-builder and virt-sysprep.
Setting timezone is easy. It turns out to be almost impossible to set keyboard layout in virt-builder sanely, so I have added some examples instead. Coming up next, setting languages in virt-builder (clue: very very very hard). Rich.
2014 Mar 18
2
[PATCH] customize: Move virt-customize-related code to a separate
There's not going to be an easy way to present this patch. It's huge and interconnected. Anyway, what it does is lay the groundwork for a new tool which I'm calling 'virt-customize'. virt-customize is virt-builder, but without the part where it downloads a template from a respository. Just the part where it customizes the template, that is, installing packages, editing
2017 Apr 21
0
[PATCH 1/2] generator: Simplify the handling of string parameters.
...info_device"; "/dev/sdd"]], @@ -7124,7 +7124,7 @@ L<http://wiki.osdev.org/ISO_9660#The_Primary_Volume_Descriptor>" }; { defaults with name = "isoinfo"; added = (1, 17, 19); - style = RStruct ("isodata", "isoinfo"), [Pathname "isofile"], []; + style = RStruct ("isodata", "isoinfo"), [String (Pathname, "isofile")], []; shortdesc = "get ISO information from primary volume descriptor of ISO file"; longdesc = "\ This is the same as C<guestfs_isoinfo_device> except...
2017 Apr 21
4
[PATCH 0/2] generator: Simplify the handling of string parameters.
Very large but mechanical change to the generator. Rich.