search for: nochroot

Displaying 19 results from an estimated 19 matches for "nochroot".

2011 Aug 25
1
[PATCH node 1/3] add reinstall and uninstall options to boot menu
rhbz#733357 Signed-off-by: Mike Burns <mburns at redhat.com> --- recipe/common-nochroot.ks | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/recipe/common-nochroot.ks b/recipe/common-nochroot.ks index c5d009f..c6dd76d 100644 --- a/recipe/common-nochroot.ks +++ b/recipe/common-nochroot.ks @@ -17,6 +17,9 @@ sed -i -e 's/ quiet//' $LIVE_R...
2013 May 10
4
remotely mounting client disks in p2v server
Just spent a little time poking around w/ p2v and am attaching the following pseudo-code for consideration. Note the patches aren't commit ready yet, just looking for thoughts - The first is a fix to get client image building process working on F17. It seems the version of ksflatten there didn't expand the nested %includes which was causing errors (also --interpreter image-minimizer
2010 Apr 13
1
[PATCH node] refactor node image recipe
...h}' ovirt-node) +echo "oVirt Node release $ver-$rel-$arch" > $manifests/ovirt-release +tar -cvf ovirt-node-image-manifests-$ver-$rel.$arch.tar -C /tmp manifests +ln -nf ovirt-node-image-manifests-$ver-$rel.$arch.tar ovirt-node-image-manifests.tar +rm -Rf $manifests +%end + +%post --nochroot +# Move manifest tar to build directory +mv $INSTALL_ROOT/ovirt-node-image-manifests*.tar . + +# only works on x86, x86_64 +if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then + if [ ! -d $LIVE_ROOT/LiveOS ]; then mkdir -p $LIVE_ROOT/LiveOS ; f...
2011 Jul 23
0
[PATCH] make image minimization optional
...oconf -%configure +%configure --with-image-minimizer make %install diff --git a/recipe/Makefile.am b/recipe/Makefile.am index 87b0c68..060fa19 100644 --- a/recipe/Makefile.am +++ b/recipe/Makefile.am @@ -47,6 +47,7 @@ EXTRA_DIST = \ *-minimizer.ks \ common-nochroot.ks \ common-manifest.ks \ + image-minimizer.ks.in \ $(PACKAGE).ks.in \ $(PACKAGE).ks diff --git a/recipe/image-minimizer.ks.in b/recipe/image-minimizer.ks.in new file mode 100644 index 0000000..2518c5c --- /dev/null +++ b/recipe/image-minimizer.ks.in @@...
2011 Jul 23
0
[PATCH] move dracut config and patching to spec
...pper %{_libexecdir}/ovirt-config-hostname diff --git a/recipe/Makefile.am b/recipe/Makefile.am index 1de1646..87b0c68 100644 --- a/recipe/Makefile.am +++ b/recipe/Makefile.am @@ -37,7 +37,6 @@ OVIRT_NODE_TOOLS_DATA = \ *-post.ks \ *-minimizer.ks \ common-nochroot.ks \ - common-initrd.ks \ common-manifest.ks \ $(PACKAGE).ks @@ -47,7 +46,6 @@ EXTRA_DIST = \ *-post.ks \ *-minimizer.ks \ common-nochroot.ks \ - common-initrd.ks \ common-manifest.ks \ $(...
2010 Jul 16
4
Installping puppet with kickstart -- Cannot find local fact /proc/cpuinfo
Hi I have been trying to get puppet working with kickstart. I am trying to install Hadoop on the nodes. Installing puppet from kickstart work and when the machine restarts, certificates are pulled down and hadoop user is created and files are extracted. I want all the user creation etc to be done before the machine reboots so that I can set up init.d scripts to do a start of hadoop . So I
2015 Apr 25
3
Can we get a copy of ks.cfg for varous images into /root/ks.cfg?
I've recently been dealing with various CentOS images on AWS, and am being forcibly reminded that the "/root/anaconda-ks.cfg" has only a passing resemblance to whatever the kickstart configuration file actually contained. But getting a copy of the actual "ks.cfg" is invaluable for updating and testing variations of the kickstart setup, especially when manipulating disk
2008 Apr 25
2
PXE / Kickstart / nfs ....
...apVolumeGroup pv.9 logvol swap --fstype swap --name=SwapVolume --vgname=RootVolumeGroup --size=4064 logvol / --fstype ext3 --name=rootVolume --vgname=RootVolumeGroup --size=1 --grow %packages @admin-tools @base @core @development-libs @development-tools @editors @system-tools kernel-devel %post --nochroot cat /mnt/source/rnodestage2 >> /mnt/sysimage/etc/rc.d/rc.local cp /mnt/source/inittab.3 /mnt/sysimage/etc/inittab ================================================================================== Well.... can anyone give me an idea about solving this ??? Thank you all very much. Mauric...
2015 Apr 27
0
Can we get a copy of ks.cfg for varous images into /root/ks.cfg?
I think that should be: %post --nochroot -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro ----- Original Message ----- > From: "Nico Kadel-Garcia" <nkadel at gmail.com> > To: "Discussion about the virtualization on CentOS" <centos-virt at centos.org> > Sent: Saturday, 25 Ap...
2010 Jun 08
2
Kickstart issue: 'dialog' doesn't work in %post, CentOS 5.5
...3A2SXv. firstboot --disable network --onboot=yes --bootproto=dhcp --hostname='iredos.iredmail.org' part swap --bytes-per-inode=4096 --fstype="swap" --size=512 part / --bytes-per-inode=4096 --fstype="ext3" --grow --size=1 %packages --excludedocs basesystem dialog %post --nochroot echo "* Mount CDROM" mkdir -p /mnt/sysimage/mnt/ mount -t iso9660 /tmp/cdrom /mnt/sysimage/mnt %post # Run in chrooted env. echo "* Export LC_ALL" export LC_ALL=C echo "* Set TERM" export TERM='linux' echo "* Set PATH" export PATH="/usr/kerber...
2002 Aug 08
0
PXE Question....
..."------------------" # Mount our admin directory over NFS mkdir /mnt/admin mount -t nfs 192.168.104.97:/tftpboot/redhat/admin /mnt/admin # Pre KS config., a.o. disk lay-out /mnt/admin/pre_ks_conf.sh >/mnt/admin/log/10.0.111.34 2>&1 umount /mnt/admin rmdir /mnt/admin %post --nochroot echo "------------------" echo "POST INSTALL PHASE" echo "------------------" # Mount our admin directory via NFS # Note: first we have to start portmap locally /mnt/sysimage/sbin/portmap # mkdir /mnt/admin sleep 1 mount -t nfs orca.graddelt.com:/tftpboot/re...
2017 Nov 23
0
Cluster installation CentOS 7.4 network problems
...asprimary part / --fstype=xfs --size=20480 --asprimary --ondisk=sda part swap --size=131072 --ondisk=sda part /var/log --fstype=xfs --size=10240 --ondisk=sda part /home --fstype=xfs --size=10240 --grow --ondisk=sda text reboot %packages yum dhclient ntp wget @Core redhat-lsb-core %end %post --nochroot exec < /dev/tty3 > /dev/tty3 #changing to VT 3 so that we can see whats going on.... /usr/bin/chvt 3 ( cp -va /etc/resolv.conf /mnt/sysimage/etc/resolv.conf /usr/bin/chvt 1 ) 2>&1 | tee /mnt/sysimage/root/install.postnochroot.log %end %post logger "Starting anaconda galaxy110.sc.u...
2006 Jul 28
5
Minimal Kickstart setups to use with Puppet
Hi, I was at the Puppet talk at Oscon and I would like to try using Puppet for PXE on RHEL machines and I was wondering if there are standard minimal Kickstart recipes from which Puppet can then take over. Thanks, Jason van Zyl jason at maven.org
2009 Jan 20
3
Using centos and kickstart to build a minimum installation
Using centos 5.2, I want to use a kickstart file to select packages in order to have an unattended install onto a bare-metal server. Is there any way of finding out which packages I need to compile, build and run asterisk ? I generally want to build all modules in asterisk and the wct4xxp zaptel module I want to be able to not select any groups in the kickstart file, but only select
2009 Oct 14
4
Refactor ovirt-node-image code base for inclusion in Fedora
Main reason for refactor is no ovirt-node-image binary image allowed in fedora. Removed ks files, now in ovirt-node-recipe, which is subpackage of ovirt-node. Removed tools, these are now in ovirt-node-recipe which is subpackage of ovirt-node.
2009 Oct 14
8
Refactor ovirt-node code base for inclusion in Fedora
Main reason for refactor is no ovirt-node-image binary image allowed in fedora. Moves tools and kickstart files form ovirt-node-image to subpackage ovirt-node-recipe. Removes old sub packages form ovirt-node, stateless, logos, selinux. Modifies init scripts to meet Fedora packaging guidelines: added status, reload, and lockfile, rhbz: 514221 Added License file.
2009 Sep 09
1
oVirt Appliance / Single Machine Install
The following two patches fixes / reimplements the oVirt appliance project, installing the entire oVirt stack including all server and node components on one machine. These patches are intended to be checked out and used to build the appliance rpm, after which it is installed provides the /usr/sbin/ovirt-appliance-ctrl script to install/uninstall the appliance. The first patch merely removes
2010 Oct 14
13
First boot with Puppet
Hi guys, I''m installing Puppet on RHEL5 systems using KickStart but struggle with the first boot. Here''s my situation: 1) kickstart installs the system, including puppet from our local repo 2) after reboot I have to login and set the hostname and IP 3) then run puppet, register it with the server and bring in the config 4) configure puppet for automatic start I have to
2019 Sep 10
3
[PATCH 0/2] Remove virt-p2v from libguestfs
Now that virt-p2v has its own repository [1] and releases [2], it is time to remove it from libguestfs. [1] https://github.com/libguestfs/virt-p2v [2] http://download.libguestfs.org/virt-p2v/ Pino Toscano (2): Remove virt-p2v Remove remaining virt-p2v bits .gitignore | 4 - Makefile.am | 7 +- bash/Makefile.am