generic/fedora-19-i386-cloud.ks generic/fedora-19-i386.ks generic/fedora-19-i386-minimal.ks
by Matthew Miller
generic/fedora-19-i386-cloud.ks | 3 +++
generic/fedora-19-i386-minimal.ks | 3 +++
generic/fedora-19-i386.ks | 3 +++
3 files changed, 9 insertions(+)
New commits:
commit a03cf572d122d4e968da61b2dc1b60053e335d9f
Author: Matthew Miller <mattdm(a)mattdm.org>
Date: Mon May 13 13:08:22 2013 -0400
still need the nosegneg hack for 32-bit xen guests (see bz 651861 and bz 708406)
diff --git a/generic/fedora-19-i386-cloud.ks b/generic/fedora-19-i386-cloud.ks
index 046f963..f34cbb6 100644
--- a/generic/fedora-19-i386-cloud.ks
+++ b/generic/fedora-19-i386-cloud.ks
@@ -80,6 +80,9 @@ LABEL=_/ / ext4 defaults 1 1
EOF
echo .
+# workaround xen performance issue (bz 651861; see also bz 708406)
+echo "hwcap 1 nosegneg" > /etc/ld.so.conf.d/libc6-xen.conf
+
# Kickstart specifies timeout in seconds; syslinux uses 10ths.
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
diff --git a/generic/fedora-19-i386-minimal.ks b/generic/fedora-19-i386-minimal.ks
index 2fbdb60..27c2e0a 100644
--- a/generic/fedora-19-i386-minimal.ks
+++ b/generic/fedora-19-i386-minimal.ks
@@ -84,6 +84,9 @@ LABEL=_/ / ext4 defaults 1 1
EOF
echo .
+# workaround xen performance issue (bz 651861; see also bz 708406)
+echo "hwcap 1 nosegneg" > /etc/ld.so.conf.d/libc6-xen.conf
+
# Kickstart specifies timeout in seconds; syslinux uses 10ths.
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
diff --git a/generic/fedora-19-i386.ks b/generic/fedora-19-i386.ks
index 27989c5..80cf833 100644
--- a/generic/fedora-19-i386.ks
+++ b/generic/fedora-19-i386.ks
@@ -73,6 +73,9 @@ LABEL=_/ / ext4 defaults 1 1
EOF
echo .
+# workaround xen performance issue (bz 651861; see also bz 708406)
+echo "hwcap 1 nosegneg" > /etc/ld.so.conf.d/libc6-xen.conf
+
# Kickstart specifies timeout in seconds; syslinux uses 10ths.
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
10 years, 11 months
Documentation on how to create cloud images
by Alexey Torkhov
Hi.
It would be great if there was some kind of README in cloud-kickstarts
git repo and/or wiki & Cloud Guide that has some docs on how to create
cloud image.
I've tried to build it myself with livemedia-creator and got "Only url
install method is currently supported. Please fix your kickstart
file." error.
Other thing is that cloud-kickstarts should probably be packaged or
merged with spin-kickstarts.
Alexey
10 years, 11 months
generic/fedora-19-i386-cloud.ks generic/fedora-19-i386.ks generic/fedora-19-i386-minimal.ks generic/fedora-19-x86_64-cloud.ks generic/fedora-19-x86_64.ks generic/fedora-19-x86_64-minimal.ks
by Matthew Miller
generic/fedora-19-i386-cloud.ks | 4 ----
generic/fedora-19-i386-minimal.ks | 3 ---
generic/fedora-19-i386.ks | 3 ---
generic/fedora-19-x86_64-cloud.ks | 3 ---
generic/fedora-19-x86_64-minimal.ks | 3 ---
generic/fedora-19-x86_64.ks | 3 ---
6 files changed, 19 deletions(-)
New commits:
commit 7462b2f5ab9fd0bf31ef5e471023db7ef42477bb
Author: Matthew Miller <mattdm(a)mattdm.org>
Date: Sun May 12 10:42:15 2013 -0400
new uuid support in appliance-creator makes this unnecessary (thanks dennis!)
diff --git a/generic/fedora-19-i386-cloud.ks b/generic/fedora-19-i386-cloud.ks
index d94a791..046f963 100644
--- a/generic/fedora-19-i386-cloud.ks
+++ b/generic/fedora-19-i386-cloud.ks
@@ -84,10 +84,6 @@ echo .
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
-echo "Fixing hardcoded device names from appliance-creator"
-sed -i 's/\/dev\/.da1/LABEL=_\//' /boot/extlinux/extlinux.conf
-
-
# setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target
diff --git a/generic/fedora-19-i386-minimal.ks b/generic/fedora-19-i386-minimal.ks
index 727448b..2fbdb60 100644
--- a/generic/fedora-19-i386-minimal.ks
+++ b/generic/fedora-19-i386-minimal.ks
@@ -88,9 +88,6 @@ echo .
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
-echo "Fixing hardcoded device names from appliance-creator"
-sed -i 's/\/dev\/.da1/LABEL=_\//' /boot/extlinux/extlinux.conf
-
# setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target
diff --git a/generic/fedora-19-i386.ks b/generic/fedora-19-i386.ks
index 9b6fbb3..27989c5 100644
--- a/generic/fedora-19-i386.ks
+++ b/generic/fedora-19-i386.ks
@@ -77,9 +77,6 @@ echo .
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
-echo "Fixing hardcoded device names from appliance-creator"
-sed -i 's/\/dev\/.da1/LABEL=_\//' /boot/extlinux/extlinux.conf
-
# setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target
diff --git a/generic/fedora-19-x86_64-cloud.ks b/generic/fedora-19-x86_64-cloud.ks
index ba02166..4c6ad5b 100644
--- a/generic/fedora-19-x86_64-cloud.ks
+++ b/generic/fedora-19-x86_64-cloud.ks
@@ -84,9 +84,6 @@ echo .
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
-echo "Fixing hardcoded device names from appliance-creator"
-sed -i 's/\/dev\/.da1/LABEL=_\//' /boot/extlinux/extlinux.conf
-
# setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target
diff --git a/generic/fedora-19-x86_64-minimal.ks b/generic/fedora-19-x86_64-minimal.ks
index fb1efc2..92a8874 100644
--- a/generic/fedora-19-x86_64-minimal.ks
+++ b/generic/fedora-19-x86_64-minimal.ks
@@ -89,9 +89,6 @@ echo .
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
-echo "Fixing hardcoded device names from appliance-creator"
-sed -i 's/\/dev\/.da1/LABEL=_\//' /boot/extlinux/extlinux.conf
-
# setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target
diff --git a/generic/fedora-19-x86_64.ks b/generic/fedora-19-x86_64.ks
index a0c2811..02cb9b6 100644
--- a/generic/fedora-19-x86_64.ks
+++ b/generic/fedora-19-x86_64.ks
@@ -78,9 +78,6 @@ echo .
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
-echo "Fixing hardcoded device names from appliance-creator"
-sed -i 's/\/dev\/.da1/LABEL=_\//' /boot/extlinux/extlinux.conf
-
# setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target
10 years, 11 months
2 commits - generic/fedora-19-i386-cloud.ks generic/fedora-19-i386.ks generic/fedora-19-i386-minimal.ks generic/fedora-19-x86_64-cloud.ks generic/fedora-19-x86_64.ks generic/fedora-19-x86_64-minimal.ks
by Matthew Miller
generic/fedora-19-i386-cloud.ks | 12 +++++++++++-
generic/fedora-19-i386-minimal.ks | 11 ++++++++++-
generic/fedora-19-i386.ks | 11 ++++++++++-
generic/fedora-19-x86_64-cloud.ks | 11 ++++++++++-
generic/fedora-19-x86_64-minimal.ks | 11 ++++++++++-
generic/fedora-19-x86_64.ks | 11 ++++++++++-
6 files changed, 61 insertions(+), 6 deletions(-)
New commits:
commit afa50b2333d49f31cc27635457c75dff2f27ab21
Author: Matthew Miller <mattdm(a)mattdm.org>
Date: Sat May 11 17:11:58 2013 -0400
put back the minimal fstab
diff --git a/generic/fedora-19-i386-cloud.ks b/generic/fedora-19-i386-cloud.ks
index c6f4c95..d94a791 100644
--- a/generic/fedora-19-i386-cloud.ks
+++ b/generic/fedora-19-i386-cloud.ks
@@ -74,6 +74,12 @@ rsync
%post --erroronfail
+echo -n "Writing fstab"
+cat <<EOF > /etc/fstab
+LABEL=_/ / ext4 defaults 1 1
+EOF
+echo .
+
# Kickstart specifies timeout in seconds; syslinux uses 10ths.
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
diff --git a/generic/fedora-19-i386-minimal.ks b/generic/fedora-19-i386-minimal.ks
index fd896cb..727448b 100644
--- a/generic/fedora-19-i386-minimal.ks
+++ b/generic/fedora-19-i386-minimal.ks
@@ -78,6 +78,12 @@ iptables-services
%post --erroronfail
+echo -n "Writing fstab"
+cat <<EOF > /etc/fstab
+LABEL=_/ / ext4 defaults 1 1
+EOF
+echo .
+
# Kickstart specifies timeout in seconds; syslinux uses 10ths.
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
diff --git a/generic/fedora-19-i386.ks b/generic/fedora-19-i386.ks
index 37fd203..9b6fbb3 100644
--- a/generic/fedora-19-i386.ks
+++ b/generic/fedora-19-i386.ks
@@ -67,6 +67,12 @@ rsync
%post --erroronfail
+echo -n "Writing fstab"
+cat <<EOF > /etc/fstab
+LABEL=_/ / ext4 defaults 1 1
+EOF
+echo .
+
# Kickstart specifies timeout in seconds; syslinux uses 10ths.
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
diff --git a/generic/fedora-19-x86_64-cloud.ks b/generic/fedora-19-x86_64-cloud.ks
index 32e44fd..ba02166 100644
--- a/generic/fedora-19-x86_64-cloud.ks
+++ b/generic/fedora-19-x86_64-cloud.ks
@@ -74,6 +74,12 @@ rsync
%post --erroronfail
+echo -n "Writing fstab"
+cat <<EOF > /etc/fstab
+LABEL=_/ / ext4 defaults 1 1
+EOF
+echo .
+
# Kickstart specifies timeout in seconds; syslinux uses 10ths.
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
diff --git a/generic/fedora-19-x86_64-minimal.ks b/generic/fedora-19-x86_64-minimal.ks
index 5115ef8..fb1efc2 100644
--- a/generic/fedora-19-x86_64-minimal.ks
+++ b/generic/fedora-19-x86_64-minimal.ks
@@ -79,6 +79,12 @@ iptables-services
%post --erroronfail
+echo -n "Writing fstab"
+cat <<EOF > /etc/fstab
+LABEL=_/ / ext4 defaults 1 1
+EOF
+echo .
+
# Kickstart specifies timeout in seconds; syslinux uses 10ths.
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
diff --git a/generic/fedora-19-x86_64.ks b/generic/fedora-19-x86_64.ks
index 8c7066f..a0c2811 100644
--- a/generic/fedora-19-x86_64.ks
+++ b/generic/fedora-19-x86_64.ks
@@ -68,6 +68,12 @@ rsync
%post --erroronfail
+echo -n "Writing fstab"
+cat <<EOF > /etc/fstab
+LABEL=_/ / ext4 defaults 1 1
+EOF
+echo .
+
# Kickstart specifies timeout in seconds; syslinux uses 10ths.
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
commit 77dd7f1cbdaf9dd52739f654a4e9f9dd798f80fd
Author: Matthew Miller <mattdm(a)mattdm.org>
Date: Sat May 11 17:02:13 2013 -0400
extlinux!
diff --git a/generic/fedora-19-i386-cloud.ks b/generic/fedora-19-i386-cloud.ks
index d94e7d2..c6f4c95 100644
--- a/generic/fedora-19-i386-cloud.ks
+++ b/generic/fedora-19-i386-cloud.ks
@@ -19,7 +19,7 @@ selinux --enforcing
# matching these rules is generated below.
firewall --service=ssh
-bootloader --timeout=1 --location=mbr --driveorder=sda
+bootloader --timeout=1 --extlinux
network --bootproto=dhcp --device=eth0 --onboot=on
services --enabled=network,sshd,rsyslog,iptables,cloud-init,cloud-init-local,cloud-config,cloud-final
@@ -78,6 +78,10 @@ rsync
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
+echo "Fixing hardcoded device names from appliance-creator"
+sed -i 's/\/dev\/.da1/LABEL=_\//' /boot/extlinux/extlinux.conf
+
+
# setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target
diff --git a/generic/fedora-19-i386-minimal.ks b/generic/fedora-19-i386-minimal.ks
index 9f48827..fd896cb 100644
--- a/generic/fedora-19-i386-minimal.ks
+++ b/generic/fedora-19-i386-minimal.ks
@@ -20,7 +20,7 @@ selinux --enforcing
# matching these rules is generated below.
firewall --service=ssh
-bootloader --timeout=1 --location=mbr --driveorder=sda
+bootloader --timeout=1 --extlinux
network --bootproto=dhcp --device=eth0 --onboot=on
services --enabled=network,sshd,rsyslog,iptables
@@ -82,6 +82,9 @@ iptables-services
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
+echo "Fixing hardcoded device names from appliance-creator"
+sed -i 's/\/dev\/.da1/LABEL=_\//' /boot/extlinux/extlinux.conf
+
# setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target
diff --git a/generic/fedora-19-i386.ks b/generic/fedora-19-i386.ks
index 05e9c47..37fd203 100644
--- a/generic/fedora-19-i386.ks
+++ b/generic/fedora-19-i386.ks
@@ -14,7 +14,7 @@ selinux --enforcing
# matching these rules is generated below.
firewall --service=ssh
-bootloader --timeout=1 --location=mbr --driveorder=sda
+bootloader --timeout=1 --extlinux
network --bootproto=dhcp --device=eth0 --onboot=on
services --enabled=network,sshd,rsyslog,iptables
@@ -71,6 +71,9 @@ rsync
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
+echo "Fixing hardcoded device names from appliance-creator"
+sed -i 's/\/dev\/.da1/LABEL=_\//' /boot/extlinux/extlinux.conf
+
# setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target
diff --git a/generic/fedora-19-x86_64-cloud.ks b/generic/fedora-19-x86_64-cloud.ks
index f86ccbe..32e44fd 100644
--- a/generic/fedora-19-x86_64-cloud.ks
+++ b/generic/fedora-19-x86_64-cloud.ks
@@ -19,7 +19,7 @@ selinux --enforcing
# matching these rules is generated below.
firewall --service=ssh
-bootloader --timeout=1 --location=mbr --driveorder=sda
+bootloader --timeout=1 --extlinux
network --bootproto=dhcp --device=eth0 --onboot=on
services --enabled=network,sshd,rsyslog,iptables,cloud-init,cloud-init-local,cloud-config,cloud-final
@@ -78,6 +78,9 @@ rsync
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
+echo "Fixing hardcoded device names from appliance-creator"
+sed -i 's/\/dev\/.da1/LABEL=_\//' /boot/extlinux/extlinux.conf
+
# setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target
diff --git a/generic/fedora-19-x86_64-minimal.ks b/generic/fedora-19-x86_64-minimal.ks
index 0e83a06..5115ef8 100644
--- a/generic/fedora-19-x86_64-minimal.ks
+++ b/generic/fedora-19-x86_64-minimal.ks
@@ -20,7 +20,7 @@ selinux --enforcing
# matching these rules is generated below.
firewall --service=ssh
-bootloader --timeout=1 --location=mbr --driveorder=sda
+bootloader --timeout=1 --extlinux
network --bootproto=dhcp --device=eth0 --onboot=on
services --enabled=network,sshd,rsyslog,iptables
@@ -83,6 +83,9 @@ iptables-services
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
+echo "Fixing hardcoded device names from appliance-creator"
+sed -i 's/\/dev\/.da1/LABEL=_\//' /boot/extlinux/extlinux.conf
+
# setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target
diff --git a/generic/fedora-19-x86_64.ks b/generic/fedora-19-x86_64.ks
index aa50063..8c7066f 100644
--- a/generic/fedora-19-x86_64.ks
+++ b/generic/fedora-19-x86_64.ks
@@ -14,7 +14,7 @@ selinux --enforcing
# matching these rules is generated below.
firewall --service=ssh
-bootloader --timeout=1 --location=mbr --driveorder=sda
+bootloader --timeout=1 --extlinux
network --bootproto=dhcp --device=eth0 --onboot=on
services --enabled=network,sshd,rsyslog,iptables
@@ -72,6 +72,9 @@ rsync
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
+echo "Fixing hardcoded device names from appliance-creator"
+sed -i 's/\/dev\/.da1/LABEL=_\//' /boot/extlinux/extlinux.conf
+
# setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target
10 years, 11 months
root filesystem resizeing at boot time
by Attila Fazekas
Hi All,
Openstack is able to boot the same image with different disk sizes.
The instance's disk size is depends on the selected flavor type.
With the default flavor types you can have 20Gib(m1.small), 40Gib (m1.medium), 80Gib (m1.large), 160 GiB (m1.xlarge) Disk sizes.
I am looking for an OpenStack friendly Fedora image which is able to utilize all space on the first disk(vda),
without any additional manual steps. The file system should be ready for use before I login to the instance.
According to this presentation http://www.slideshare.net/openstack/os-summit-portlandimages,
the best time for resizing the file systems is at the initrd time.
All Fedora jeos images I tried so far just uses maximum 10 GiB even on a 160 GiB disk after the first boot.
I would like to use the same image for all disk sizes.
Do you know about a working auto-resize capable Fedora Image ?
Best Regards,
Attila
10 years, 11 months