hosting 64 bit repos on 32 bit cobbler server
by Dick Davies
Is anyone else having troubles 'cobbler reposync'ing a 64-bit repo to
a 32-bit cobbler server?
Can't seem to do it for the life of me, my hunch is Cobbler is trying to
resolve dependencies (in our case we mirror a local subset of EPEL) and
getting confused.
12 years, 5 months
preseed file problem
by Kelly Goedert
Hi,
I created a preseed file like this, to make an ubuntu desktop install,
version 11.10
# Preseeding only locale sets language, country and locale.
d-i debian-installer/locale string en_US
# Enable extras.ubuntu.com.
d-i apt-setup/extras boolean true
# Install the Ubuntu desktop.
tasksel tasksel/first multiselect ubuntu-desktop
# Keyboard selection.
# Disable automatic (interactive) keymap detection.
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/layoutcode string br
# Controls whether or not the hardware clock is set to UTC.
d-i clock-setup/utc boolean true
# You may set this to any valid setting for $TZ; see the contents of
# /usr/share/zoneinfo/ for valid values.
d-i time/zone string America/Sao_Paulo
### Account setup
d-i passwd/root-login boolean true
d-i passwd/make-user boolean false
### create a password with `printf "r00tme" | mkpasswd -s -m md5`
d-i passwd/root-password-crypted password $1$ZgNbzcXq$hUR0CnHVtYAvNNNnA2.br1
### Partitioning
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string regular
d-i partman-auto/purge_lvm_from_device boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-lvm/confirm boolean true
d-i partman-auto/choose_recipe select atomic
d-i partman-auto/expert_recipe string \
boot-root :: \
40 50 100 ext4 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /boot } \
. \
500 10000 1000000000 ext4 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
. \
64 512 300% linux-swap \
method{ swap } format{ } \
.
# The full recipe format is documented in the file partman-auto-recipe.txt
# included in the 'debian-installer' package or available from D-I source
# repository. This also documents how to specify settings such as file
# system labels, volume group names and which physical devices to include
# in a volume group.
# This makes partman automatically partition without confirmation, provided
# that you told it what to do using one of the methods above.
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
But the installation hangs after package installation. What am I doing
wrong here?
Thanks
Kelly
12 years, 5 months
replication and RPM repos
by Russ Lavoy
Hi,
I am having this issue https://fedorahosted.org/cobbler/ticket/663. --prune does not delete old data from my custom RPM repository when using "cobbler replicate". Short of doing an rsync manually, is there any plan to remedy this? If there is already a way to fix this using cobbler methods does anyone know what that is?
Thanks!
12 years, 5 months
Feature Request / Minor Bug Grumble: Web Interface: Profile Edit Page
by Dan White
I would like the Repos list on the profile editing page to be wider or width-adjustable.
The names of most of my repos are wider than the window and I cannot see the whole name to properly select it.
“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)
12 years, 5 months
importing an iso
by Kelly Goedert
Hi,
I installed ubuntu orchestra server, and a pxe server, with which I can
make a server installation through the network perfectly. Now I would like
to also be able to make desktop installations. So I imagined that I only
had to import the iso images I wanted, and the rest of the process would be
pretty much the same as to the servers. I followed the instructions I found
here https://help.ubuntu.com/community/Cobbler/Import and then I executed
cobbler sync. I was expecting that a distro and a profile would be created,
but they weren't.
So, my questions:
Is it possible to install a desktop version of ubuntu, this way? What else
besides the instructions on the link I have to do?
Thank you
Kelly
12 years, 5 months
issue with cobbler snippet not working since we started using OEL and RHEL 5.7
by Edward Bailey
We have a very simple snippet that helps cobbler partition our servers
during a kickstart. This was working with no issues for 4.8 and 5.4 till we
recently starting moving our systems to 5.7. Now we get the same error with
every kickstart. Any advice or suggestions for better options are more
than welcome. I am stuck.
Thanks
Ed
I see the following printed to the screen during a kickstart
File "/usr/lib/python2.4/site-packages/pykickstart/parser.py", line 1128,
in readKickstart fh = open(file)
IOError: [Errno 2] No such file or directory: '/tmp/partitions' install
existed abnormally [1/1]
Below is the snippet
%include /tmp/partitions
%pre
LIST=/tmp/drives
cmd="list-harddrives"
$cmd > $LIST
cchk=`awk '/^cciss/ {print $1}' $LIST|head -1`
schk=`awk '/^sda/ {print $1}' $LIST|head -1`
if [ -z "$schk" -a -z "$cchk" ]; then
echo "No HP or SAN attached disks found; exiting."
exit 1
fi
if [ -n "$cchk" ]; then
REST="$cchk"
else
REST="$schk"
fi
if [ -n "$schk" ]; then
BOOT="$schk"
else
BOOT="$cchk"
fi
#export BOOT REST
cat << EOP > /tmp/partitions
bootloader --location=mbr
clearpart --all --initlabel
part / --fstype=ext3 --size=6144 --ondisk=$BOOT
part /opt --fstype=ext3 --size=1 --grow --ondisk=$REST
part /var --fstype=ext3 --size=2048 --ondisk=$BOOT
part /tmp --fstype=ext3 --size=1024 --ondisk=$REST
part swap --size=2048 --ondisk=$REST
EOP
12 years, 5 months
removing a phantom image
by Alan McKay
Hi again folks :-)
I think that the only thing I forcibly removed from the filesystem is the
stuff under ks_mirror, but it may well be the case that I accidentally
removed an image somewhere too. Because I have a "phantom image" being
listed. See below :
[root@solexa-db]# cobbler list
distros:
profiles:
systems:
repos:
images:
SF2250
SF2250-1
[root@solexa-db]# cobbler image remove --name=SF2250
cobbler.cexceptions.CX:'cannot delete an object that does not exist:
debuglaptop'
[root@solexa-db]#
Note that I also used to have a system defined called "DebugLaptop" which
referenced that image, but I removed the DebugLaptop with the "cobbler
system remove" command.
--
“Don't eat anything you've ever seen advertised on TV”
- Michael Pollan, author of "In Defense of Food"
12 years, 5 months
Adding to the Wiki (was: DOS Live CD)
by Alan McKay
Yup, we're golden Jerry!
So how would you like me to stick it into the wiki?
I would suggest maybe a page for the Images feature and then a sub-heading
for each type of image - I will add something for memdisk with this one
example.
Also possibly a reference elsewhere to it. For example if you get the page
fixed for All About Live CDs, I could alter it to say that it deals mainly
with Linux-type live CDs, and for DOS-type see the following page (the one
I just created above)
--
“Don't eat anything you've ever seen advertised on TV”
- Michael Pollan, author of "In Defense of Food"
12 years, 5 months
PXE boot a (DOS) Live CD
by Alan McKay
Hey folks,
First let me say I really like cobbler so far! Just stumbled upon it today
and it was pretty easy to set up.
Except for this.
I already found this page :
https://fedorahosted.org/cobbler/wiki/HowToPxeAnyLiveCd
But it seems to be very specific in dealing with Linux Live CDs, not any
old live CD as the name suggests.
My scenario is that I have a live CD from Oracle/Sun for doing emergency
troubleshooting on Sunfire X2250 servers. It is a DOS-based live CD.
Oracle actually gives instructions here on how to make it PXE bootable
with a Red Hat PXE server, but clearly they are not talking about cobbler,
and the instructions are a bit incomplete at least for a guy like me with
no PXE experience whatsoever.
http://docs.oracle.com/cd/E19121-01/sf.x2250/820-4593-12/AppB.html#505405...
I even went looking for a PXE server on RHEL 5.3 (via yum search) and could
not find much of anything so not sure what Red Hat PXE server they are
talking about.
Anyway, I could REALLY used some help in getting this live CD going with
Cobbler.
Anyone able to help me out? I promise to add the instructions to the wiki
if you want.
Oh, if I take the ISO from Oracle/Sun and mount it loopback on my Linux
box, here is what the contents look like if that helps
[root@solexa-db SF2250]# ls -al !$
ls -al /mnt/tnt/
total 80261
dr-xr-xr-x 9 root root 2048 Feb 22 2011 .
drwxr-xr-x 17 root root 4096 Dec 6 11:42 ..
dr-xr-xr-x 3 root root 2048 Feb 22 2011 autorun
-r-xr-xr-x 1 root root 245 Feb 22 2011 autorun.inf
-r--r--r-- 1 root root 2048 Feb 22 2011 boot.catalog
-r-xr-xr-x 1 root root 82147328 Feb 22 2011 boot.img
-r-xr-xr-x 1 root root 3370 Feb 22 2011 Copyright
dr-xr-xr-x 5 root root 2048 Feb 22 2011 drivers
-r-xr-xr-x 1 root root 4050 Feb 22 2011 FR_Copyright
dr-xr-xr-x 2 root root 2048 Feb 22 2011 legal_notices
-r-xr-xr-x 1 root root 168 Feb 22 2011 README.1ST
-r-xr-xr-x 1 root root 4587 Feb 22 2011 README.TXT
dr-xr-xr-x 2 root root 2048 Feb 22 2011 recovery
dr-xr-xr-x 3 root root 2048 Feb 22 2011 remoteflash
dr-xr-xr-x 3 root root 2048 Feb 22 2011 SNMP
dr-xr-xr-x 4 root root 2048 Feb 22 2011 utilities
thanks,
-Alan
--
“Don't eat anything you've ever seen advertised on TV”
- Michael Pollan, author of "In Defense of Food"
12 years, 5 months