XEN-LIST-IMAGES(8) Perl Programmers Reference Guide XEN-LIST-IMAGES(8)NAME
xen-list-images - List all the created and configured Xen images.
SYNOPSIS
xen-list-image [options]
Help Options:
--help Show this scripts help information.
--manual Read this scripts manual.
--version Show the version number and exit.
Testing options:
--test Specify an alternate Xen configuration directory.
OPTIONS --help Show the scripts help information.
--manual Read the manual.
--test This flag causes the script to load the Xen configuration files from a different directory than the default of /etc/xen.
--version Show the version number and exit.
DESCRIPTION
xen-list-images is a simple script which will display all the
Xen images which have been created.
This works by iterating over all files matching the pattern
/etc/xen/*.cfg which is what the xen-create-image script would
create.
For each instance which has been created we'll display the name,
and then either the IP address configured, or "DHCP" to denote
a dynamic host.
TODO
It should be possible to determine the disk(s) used by the images,
and then display their sizes.
AUTHORS
Steve Kemp, http://www.steve.org.uk/
StA~Xphane Jourdois
LICENSE
Copyright (c) 2005-2009 by Steve Kemp, (c) 2010 by The Xen-Tools Development Team. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The LICENSE file contains the
full text of the license.
4.3.1 2012-06-30 XEN-LIST-IMAGES(8)
Check Out this Related Man Page
XT-CUSTOMIZE-IMAGE(8) Perl Programmers Reference Guide XT-CUSTOMIZE-IMAGE(8)NAME
xt-customize-image - Customize a freshly installed copy of GNU/Linux
SYNOPSIS
xt-customize-image [options]
Help Options:
--help Show this scripts help information.
--manual Read this scripts manual.
--version Show the version number and exit.
Debugging Options:
--verbose Be verbose in our execution.
Mandatory Options:
--location The location of the new installation
--dist The name of the distribution which has been installed.
All other options from xen-create-image, such as the new IP address(es)
to give to the new instance, will be passed as environmental variables.
NOTES
This script is invoked by xen-create-image after it has created a
fresh installation of Linux withing a temporary location.
This script will be invoked with a full copy of the arguments from
xen-create-image in its environment, along with several command line
arguments.
The command line arguments which are mandatory are:
--location - The temporary installation root of the new install
--dist - The distribution which has been installed.
HOOK SCRIPTS
The distribution name is used to locate an appropriate collection
of scripts, or hooks, to execute to do the actual customisation.
The hooks will each be executed with a single parameter which is
the directory path to the new instance. This argument is taken from
the --location option.
For the distribution named 'foo' the scripts will be loaded and
executed from '/usr/lib/xen-tools/foo.d'. Each executable will
be loaded and executed in sorted order.
AUTHORS
Steve Kemp, http://www.steve.org.uk/
Axel Beckert, http://noone.org/abe/
StA~Xphane Jourdois
LICENSE
Copyright (c) 2005-2009 by Steve Kemp, (c) 2010 by The Xen-Tools Development Team. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The LICENSE file contains the
full text of the license.
4.3.1 2012-06-30 XT-CUSTOMIZE-IMAGE(8)
I have two files and I need to know the difference between each line. This will extend to thousand lines and manual works is really not really an option.
sample:
First File Second File
allan entry1 entry2 entry3 allan entry1 entry3
bob entry1... (10 Replies)
Please help me with my script please. I am trying to do the following:
1. Read files for the current directory
2. Open and read from nbe files files only
3. Read only the lines with the results pattern
4. Split the line and print 3rd field
Please indicate what line I need to modify. ... (8 Replies)
Hi,
I want to put all the deleted files in a txt file. Because i want to backup my image server which has thousands of jpg images. I wrote a shell script which will copies images from image server to backup image server. I setup a cronjob which runs on every five minutes. & through timestamp it... (8 Replies)
Hi all,
I am running xen virtual machine on centos 5 and xen gust o.s is centos.
I cannot boot my xen vm machine it saying cannot find /bin/sh to execute.
I want to go to rescue mode of my xen vm machine.
I know how to do on actual physical machine but how i can enter in rescue mode of... (6 Replies)
Hi All,
I want to read one number from the file.
Only one number will be there in the file.
then i have to increment the number in my script and put it back in the same file.
Is it possible?
Can anybody help me?
Thanks,
Vinay (6 Replies)
I'm currently working with dozens of FASTA files, and I'm tired of having to manually change the filename in my Perl script.
I'm trying to write a simple Perl script that'll create a 2-dimensional array containing the name of the folders and its contents.
For example, I would like the output... (6 Replies)
I need to change a line from a xen cfg file using sed if it's possible. The original line is:
vif =
I want to change ONLY the IP address of the second part ==> ip=10.1.10.4 to another IP --> ip=192.222.11.6 The first one ip=123.456.789.123 keeps untouchable.
My new line shoud... (9 Replies)
Hi guys.
I read that RHEL will not support XEN in version 6 and it will support KVM. Does this mean we can't install XEN from RHEL repositories? Should we install it from source code? (8 Replies)
Hello everyone!
I'm new and very happy to be here!
Trying to create a quick idea:
I want to take images sent to an eMail address on my domain (pics@mywebsite.com), and copy them into a directory.
There will then be a page that displays those images.
How could I go about this?
I'm a script... (6 Replies)
Setup:
Multiple Virtual Machines running OEL5 / Oracle RDBMS 11.2
OVM 2 / Xen 3.4.0 Cluster consisting of 3 Machines
Shared SAN Storage synced with OCFS2
SAN connected with 4GB FC on 4 Paths per LUN
SAN target are 2 EMC Clariion mirroring each other
The problems we're facing are that... (6 Replies)
Hi All,
Its urgent.. pls help me out.. I want to create a KSH which should generate a report with the list of users and the files larger than 5 GB created by them in a direcorty and send autogenerated e-mail to them.
my input would be users list,directory path and the file size (say 5 GB)
... (11 Replies)
i am trying to recursively save a remote FTP server but exclude the files immediately under a directory directory1
wget -r -N ftp://user:pass@hostname/directory1
I want to keep these which may have more files under them
directory1/dir1/file.jpg
directory1/dir2/file.jpg... (16 Replies)
Hi
I am sorry if I am in the wrong place!
I have been looking for a way to isolate and FTP out of the server hundreds of images which are no longer doing anything there, that is, that are not linked to any page.
The only thing I found (free) was the following script. If I am useless at... (7 Replies)
LIST=/home/xxxxxxx/ABC/xeeno_scrpts/temp/tempfile
ERRORDIR=/home/xxxxxxx/ABC/error_directory
EMAILFILE=/home/xxxxxxx/ABC/xeeno_scrpts/temp/emailfile
echo "There were errors in the following report file for Xeenos:" > $EMAILFILE
echo >> $EMAILFILE
echo "This files have been moved to... (9 Replies)
Hello Team,
I am looking for help to read contains from { } and replace the word.
basically, I need to use this for nagios configuration file where each host/service define within {}.
I want script or syntax to which read first word/line from {} and replace the desire word within that {}.
... (5 Replies)