generic/fedora-19-i386-cloud.ks generic/fedora-19-x86_64-cloud.ks
by Dennis Gilmore
generic/fedora-19-i386-cloud.ks | 9 +++++++--
generic/fedora-19-x86_64-cloud.ks | 8 +++++++-
2 files changed, 14 insertions(+), 3 deletions(-)
New commits:
commit 426e0f28cc7e34d0d14b7717a77de7322e32773f
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Tue May 21 11:34:57 2013 -0500
drop -- from extlinux link grub.conf to menu.lst for ec2 use
diff --git a/generic/fedora-19-i386-cloud.ks b/generic/fedora-19-i386-cloud.ks
index 25b540c..ee97d80 100644
--- a/generic/fedora-19-i386-cloud.ks
+++ b/generic/fedora-19-i386-cloud.ks
@@ -23,7 +23,7 @@ selinux --enforcing
# matching these rules is generated below.
firewall --service=ssh
-bootloader --timeout=1 --extlinux
+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
@@ -76,7 +76,12 @@ rsync
%post --erroronfail
-
+#link grub.conf to menu.lst for ec2 to work
+if ! [[ -e /boot/grub/menu.lst ]]; then
+ echo -n "Linking menu.lst to old-style grub.conf for pv-grub"
+ ln -s /boot/grub/grub.conf /boot/grub/menu.lst
+ ln -sf /boot/grub/grub.conf /etc/grub.conf
+fi
# workaround xen performance issue (bz 651861; see also bz 708406)
echo "hwcap 1 nosegneg" > /etc/ld.so.conf.d/libc6-xen.conf
diff --git a/generic/fedora-19-x86_64-cloud.ks b/generic/fedora-19-x86_64-cloud.ks
index 4a8dfaf..0f14894 100644
--- a/generic/fedora-19-x86_64-cloud.ks
+++ b/generic/fedora-19-x86_64-cloud.ks
@@ -23,7 +23,7 @@ selinux --enforcing
# matching these rules is generated below.
firewall --service=ssh
-bootloader --timeout=1 --extlinux
+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
@@ -76,6 +76,12 @@ rsync
%post --erroronfail
+#link grub.conf to menu.lst for ec2 to work
+if ! [[ -e /boot/grub/menu.lst ]]; then
+ echo -n "Linking menu.lst to old-style grub.conf for pv-grub"
+ ln -s /boot/grub/grub.conf /boot/grub/menu.lst
+ ln -sf /boot/grub/grub.conf /etc/grub.conf
+fi
# Kickstart specifies timeout in seconds; syslinux uses 10ths.
# 0 means wait forever, so instead we'll go with 1.
10 years, 11 months
ec2/fedora-18-i386-ec2.ks ec2/fedora-18-x86_64-ec2.ks generic/fedora-18-i386-cloud.ks generic/fedora-18-i386.ks generic/fedora-18-i386-minimal.ks generic/fedora-18-x86_64-cloud.ks generic/fedora-18-x86_64.ks generic/fedora-18-x86_64-minimal.ks
by Matthew Miller
ec2/fedora-18-i386-ec2.ks | 2 +-
ec2/fedora-18-x86_64-ec2.ks | 2 +-
generic/fedora-18-i386-cloud.ks | 2 +-
generic/fedora-18-i386-minimal.ks | 2 +-
generic/fedora-18-i386.ks | 2 +-
generic/fedora-18-x86_64-cloud.ks | 2 +-
generic/fedora-18-x86_64-minimal.ks | 2 +-
generic/fedora-18-x86_64.ks | 2 +-
8 files changed, 8 insertions(+), 8 deletions(-)
New commits:
commit 869d53d5d34a3de48e846af5c1018e5a174fc633
Author: Matthew Miller <mattdm(a)mattdm.org>
Date: Tue May 21 12:24:33 2013 -0400
menu.lst needs to be a symlink -- the hardlink gets detached
diff --git a/ec2/fedora-18-i386-ec2.ks b/ec2/fedora-18-i386-ec2.ks
index 41d607e..ecaf72f 100644
--- a/ec2/fedora-18-i386-ec2.ks
+++ b/ec2/fedora-18-i386-ec2.ks
@@ -84,7 +84,7 @@ sed -i 's/root=.*/root=LABEL=_\//' /boot/grub/grub.conf
echo .
if ! [[ -e /boot/grub/menu.lst ]]; then
echo -n "Linking menu.lst to old-style grub.conf for pv-grub"
- ln /boot/grub/grub.conf /boot/grub/menu.lst
+ ln -s grub.conf /boot/grub/menu.lst
ln -sf /boot/grub/grub.conf /etc/grub.conf
fi
diff --git a/ec2/fedora-18-x86_64-ec2.ks b/ec2/fedora-18-x86_64-ec2.ks
index 3250fd4..a1013b1 100644
--- a/ec2/fedora-18-x86_64-ec2.ks
+++ b/ec2/fedora-18-x86_64-ec2.ks
@@ -84,7 +84,7 @@ sed -i 's/root=.*/root=LABEL=_\//' /boot/grub/grub.conf
echo .
if ! [[ -e /boot/grub/menu.lst ]]; then
echo -n "Linking menu.lst to old-style grub.conf for pv-grub"
- ln /boot/grub/grub.conf /boot/grub/menu.lst
+ ln -s grub.conf /boot/grub/menu.lst
ln -sf /boot/grub/grub.conf /etc/grub.conf
fi
diff --git a/generic/fedora-18-i386-cloud.ks b/generic/fedora-18-i386-cloud.ks
index bf04d8b..299e95b 100644
--- a/generic/fedora-18-i386-cloud.ks
+++ b/generic/fedora-18-i386-cloud.ks
@@ -87,7 +87,7 @@ sed -i 's/root=.*/root=LABEL=_\//' /boot/grub/grub.conf
echo .
if ! [[ -e /boot/grub/menu.lst ]]; then
echo -n "Linking menu.lst to old-style grub.conf for pv-grub"
- ln /boot/grub/grub.conf /boot/grub/menu.lst
+ ln -s grub.conf /boot/grub/menu.lst
ln -sf /boot/grub/grub.conf /etc/grub.conf
fi
diff --git a/generic/fedora-18-i386-minimal.ks b/generic/fedora-18-i386-minimal.ks
index 3a6720a..6819478 100644
--- a/generic/fedora-18-i386-minimal.ks
+++ b/generic/fedora-18-i386-minimal.ks
@@ -91,7 +91,7 @@ sed -i 's/root=.*/root=LABEL=_\//' /boot/grub/grub.conf
echo .
if ! [[ -e /boot/grub/menu.lst ]]; then
echo -n "Linking menu.lst to old-style grub.conf for pv-grub"
- ln /boot/grub/grub.conf /boot/grub/menu.lst
+ ln -s grub.conf /boot/grub/menu.lst
ln -sf /boot/grub/grub.conf /etc/grub.conf
fi
diff --git a/generic/fedora-18-i386.ks b/generic/fedora-18-i386.ks
index 062f641..5d852b6 100644
--- a/generic/fedora-18-i386.ks
+++ b/generic/fedora-18-i386.ks
@@ -80,7 +80,7 @@ sed -i 's/root=.*/root=LABEL=_\//' /boot/grub/grub.conf
echo .
if ! [[ -e /boot/grub/menu.lst ]]; then
echo -n "Linking menu.lst to old-style grub.conf for pv-grub"
- ln /boot/grub/grub.conf /boot/grub/menu.lst
+ ln -s grub.conf /boot/grub/menu.lst
ln -sf /boot/grub/grub.conf /etc/grub.conf
fi
diff --git a/generic/fedora-18-x86_64-cloud.ks b/generic/fedora-18-x86_64-cloud.ks
index 36ce1a2..5a8fe75 100644
--- a/generic/fedora-18-x86_64-cloud.ks
+++ b/generic/fedora-18-x86_64-cloud.ks
@@ -87,7 +87,7 @@ sed -i 's/root=.*/root=LABEL=_\//' /boot/grub/grub.conf
echo .
if ! [[ -e /boot/grub/menu.lst ]]; then
echo -n "Linking menu.lst to old-style grub.conf for pv-grub"
- ln /boot/grub/grub.conf /boot/grub/menu.lst
+ ln -s grub.conf /boot/grub/menu.lst
ln -sf /boot/grub/grub.conf /etc/grub.conf
fi
diff --git a/generic/fedora-18-x86_64-minimal.ks b/generic/fedora-18-x86_64-minimal.ks
index 4ae286b..cf46ed3 100644
--- a/generic/fedora-18-x86_64-minimal.ks
+++ b/generic/fedora-18-x86_64-minimal.ks
@@ -91,7 +91,7 @@ sed -i 's/root=.*/root=LABEL=_\//' /boot/grub/grub.conf
echo .
if ! [[ -e /boot/grub/menu.lst ]]; then
echo -n "Linking menu.lst to old-style grub.conf for pv-grub"
- ln /boot/grub/grub.conf /boot/grub/menu.lst
+ ln -s grub.conf /boot/grub/menu.lst
ln -sf /boot/grub/grub.conf /etc/grub.conf
fi
diff --git a/generic/fedora-18-x86_64.ks b/generic/fedora-18-x86_64.ks
index 651eebf..6120155 100644
--- a/generic/fedora-18-x86_64.ks
+++ b/generic/fedora-18-x86_64.ks
@@ -80,7 +80,7 @@ sed -i 's/root=.*/root=LABEL=_\//' /boot/grub/grub.conf
echo .
if ! [[ -e /boot/grub/menu.lst ]]; then
echo -n "Linking menu.lst to old-style grub.conf for pv-grub"
- ln /boot/grub/grub.conf /boot/grub/menu.lst
+ ln -s grub.conf /boot/grub/menu.lst
ln -sf /boot/grub/grub.conf /etc/grub.conf
fi
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 Dennis Gilmore
generic/fedora-19-i386-cloud.ks | 5 -----
generic/fedora-19-i386-minimal.ks | 6 ------
generic/fedora-19-i386.ks | 6 ------
generic/fedora-19-x86_64-cloud.ks | 6 ------
generic/fedora-19-x86_64-minimal.ks | 6 ------
generic/fedora-19-x86_64.ks | 6 ------
6 files changed, 35 deletions(-)
New commits:
commit 1814b35d5a4088fac88a834d839f791b86e92baf
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Thu May 16 12:15:03 2013 -0500
no need to write out a fstab. appliance-creator uses uuid's nw
diff --git a/generic/fedora-19-i386-cloud.ks b/generic/fedora-19-i386-cloud.ks
index 8f70cf1..25b540c 100644
--- a/generic/fedora-19-i386-cloud.ks
+++ b/generic/fedora-19-i386-cloud.ks
@@ -77,11 +77,6 @@ rsync
%post --erroronfail
-echo -n "Writing fstab"
-cat <<EOF > /etc/fstab
-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
diff --git a/generic/fedora-19-i386-minimal.ks b/generic/fedora-19-i386-minimal.ks
index 0632cd8..be6749f 100644
--- a/generic/fedora-19-i386-minimal.ks
+++ b/generic/fedora-19-i386-minimal.ks
@@ -83,12 +83,6 @@ iptables-services
%post --erroronfail
-echo -n "Writing fstab"
-cat <<EOF > /etc/fstab
-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
diff --git a/generic/fedora-19-i386.ks b/generic/fedora-19-i386.ks
index 979bbdc..0cd3dbd 100644
--- a/generic/fedora-19-i386.ks
+++ b/generic/fedora-19-i386.ks
@@ -70,12 +70,6 @@ rsync
%post --erroronfail
-echo -n "Writing fstab"
-cat <<EOF > /etc/fstab
-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
diff --git a/generic/fedora-19-x86_64-cloud.ks b/generic/fedora-19-x86_64-cloud.ks
index 4c33741..4a8dfaf 100644
--- a/generic/fedora-19-x86_64-cloud.ks
+++ b/generic/fedora-19-x86_64-cloud.ks
@@ -77,12 +77,6 @@ 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 58c737b..a82bc3f 100644
--- a/generic/fedora-19-x86_64-minimal.ks
+++ b/generic/fedora-19-x86_64-minimal.ks
@@ -84,12 +84,6 @@ 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 8dc08ad..1fdfedf 100644
--- a/generic/fedora-19-x86_64.ks
+++ b/generic/fedora-19-x86_64.ks
@@ -71,12 +71,6 @@ 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
10 years, 11 months
Cloud SIG @ Flock 2013
by Sandro "red" Mathys
Registration [1] and Call for Papers [2] for Flock 2013 [3] (the new
global Fedora contributors conference) are open, yet there's not a
single talk on actual Cloud SIG topics proposed [4] (not counting the
two talks where Cloud / OpenStack are mentioned as a tool).
Are there no topics to propose? Does nobody have anything to discuss?
Is there nothing to hack on in a group? Nothing you would like to hear
about? Feel free to suggest something if you don't wish to talk
yourself and we'll see if we can find someone to step up.
My suggestion would probably be a discussion (talk? hackfest?
workshop? sprint?) around the generic Fedora cloud images. What should
they look like, how should they be built, how often should they be
(re-)released, etc. Just my 5c, though as I'm not leading that effort
(nor am I qualified to speak on it). :)
If anyone is interested, I could probably do something about Packstack
(being a minor contributor and user) but there might be better
qualified people (and I can't yet guarantee I'll be there). There any
interest in such a session? What would you like to see covered?
Will OpenStack Havana Milestone 2 be packaged? If so, we could maybe
do a preliminary Testing / QA session (and maybe some QA folks will
help us, too) - like a test run for the next test day. ;)
Who else has an idea or proposal? Sorry for being very OpenStack-heavy
myself, other topics covered by the cloud SIG are welcome as well, of
course.
-- Sandro
[1] http://flock-lmacken.rhcloud.com/new
[2] http://flocktofedora.org/submit-a-talk/
[3] http://flocktofedora.org/
[4] http://flock-lmacken.rhcloud.com/proposals
10 years, 11 months
generic/fedora-19-i386-cloud.ks generic/fedora-19-i386.ks generic/fedora-19-x86_64-cloud.ks generic/fedora-19-x86_64.ks
by Matthew Miller
generic/fedora-19-i386-cloud.ks | 1 -
generic/fedora-19-i386.ks | 1 -
generic/fedora-19-x86_64-cloud.ks | 1 -
generic/fedora-19-x86_64.ks | 1 -
4 files changed, 4 deletions(-)
New commits:
commit e2fff1afc130815380024c5acd885bdcd26dc1be
Author: Matthew Miller <mattdm(a)mattdm.org>
Date: Wed May 15 10:20:29 2013 -0400
tmpwatch no longer needed since systemd tmpfiles service cleans up /tmp
even if it's on disk and not in ram
diff --git a/generic/fedora-19-i386-cloud.ks b/generic/fedora-19-i386-cloud.ks
index 576a975..8f70cf1 100644
--- a/generic/fedora-19-i386-cloud.ks
+++ b/generic/fedora-19-i386-cloud.ks
@@ -62,7 +62,6 @@ firewalld
iptables-services
# cherry-pick a few things from @standard
-tmpwatch
tar
rsync
diff --git a/generic/fedora-19-i386.ks b/generic/fedora-19-i386.ks
index f694dc3..979bbdc 100644
--- a/generic/fedora-19-i386.ks
+++ b/generic/fedora-19-i386.ks
@@ -55,7 +55,6 @@ firewalld
iptables-services
# cherry-pick a few things from @standard
-tmpwatch
tar
rsync
diff --git a/generic/fedora-19-x86_64-cloud.ks b/generic/fedora-19-x86_64-cloud.ks
index 19448a5..4c33741 100644
--- a/generic/fedora-19-x86_64-cloud.ks
+++ b/generic/fedora-19-x86_64-cloud.ks
@@ -62,7 +62,6 @@ firewalld
iptables-services
# cherry-pick a few things from @standard
-tmpwatch
tar
rsync
diff --git a/generic/fedora-19-x86_64.ks b/generic/fedora-19-x86_64.ks
index d8aff36..8dc08ad 100644
--- a/generic/fedora-19-x86_64.ks
+++ b/generic/fedora-19-x86_64.ks
@@ -56,7 +56,6 @@ firewalld
iptables-services
# cherry-pick a few things from @standard
-tmpwatch
tar
rsync
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 | 2 +-
generic/fedora-19-i386-minimal.ks | 3 ++-
generic/fedora-19-i386.ks | 2 +-
generic/fedora-19-x86_64-cloud.ks | 2 +-
generic/fedora-19-x86_64-minimal.ks | 3 ++-
generic/fedora-19-x86_64.ks | 2 +-
6 files changed, 8 insertions(+), 6 deletions(-)
New commits:
commit e07d0609aa6c6cfec720711a84f02c471a328fc3
Author: Matthew Miller <mattdm(a)mattdm.org>
Date: Wed May 15 10:05:59 2013 -0400
reinstate polkit on all but the ultra-minimal install. (now uses smaller
js interpreter)
diff --git a/generic/fedora-19-i386-cloud.ks b/generic/fedora-19-i386-cloud.ks
index 515759a..576a975 100644
--- a/generic/fedora-19-i386-cloud.ks
+++ b/generic/fedora-19-i386-cloud.ks
@@ -70,7 +70,6 @@ rsync
-biosdevname
-plymouth
-NetworkManager
--polkit
-iprutils
%end
diff --git a/generic/fedora-19-i386-minimal.ks b/generic/fedora-19-i386-minimal.ks
index 7bfd635..0632cd8 100644
--- a/generic/fedora-19-i386-minimal.ks
+++ b/generic/fedora-19-i386-minimal.ks
@@ -63,7 +63,6 @@ iptables-services
-biosdevname
-plymouth
-NetworkManager
--polkit
-iprutils
# These are "leaf" packages which can be done without in an ultra-minimal
@@ -73,6 +72,7 @@ iptables-services
-rsyslog
-parted
-openssh-clients
+-polkit
-rootfiles
-sendmail
-sudo
diff --git a/generic/fedora-19-i386.ks b/generic/fedora-19-i386.ks
index aa36b1a..f694dc3 100644
--- a/generic/fedora-19-i386.ks
+++ b/generic/fedora-19-i386.ks
@@ -63,7 +63,6 @@ rsync
-biosdevname
-plymouth
-NetworkManager
--polkit
-iprutils
%end
diff --git a/generic/fedora-19-x86_64-cloud.ks b/generic/fedora-19-x86_64-cloud.ks
index 93dba1a..19448a5 100644
--- a/generic/fedora-19-x86_64-cloud.ks
+++ b/generic/fedora-19-x86_64-cloud.ks
@@ -70,7 +70,6 @@ rsync
-biosdevname
-plymouth
-NetworkManager
--polkit
-iprutils
%end
diff --git a/generic/fedora-19-x86_64-minimal.ks b/generic/fedora-19-x86_64-minimal.ks
index 0c583d3..58c737b 100644
--- a/generic/fedora-19-x86_64-minimal.ks
+++ b/generic/fedora-19-x86_64-minimal.ks
@@ -64,7 +64,6 @@ iptables-services
-biosdevname
-plymouth
-NetworkManager
--polkit
-iprutils
# These are "leaf" packages which can be done without in an ultra-minimal
@@ -74,6 +73,7 @@ iptables-services
-rsyslog
-parted
-openssh-clients
+-polkit
-rootfiles
-sendmail
-sudo
diff --git a/generic/fedora-19-x86_64.ks b/generic/fedora-19-x86_64.ks
index ef2555e..d8aff36 100644
--- a/generic/fedora-19-x86_64.ks
+++ b/generic/fedora-19-x86_64.ks
@@ -64,7 +64,6 @@ rsync
-biosdevname
-plymouth
-NetworkManager
--polkit
-iprutils
%end
commit 2de1edfe9c541c271196f2f6d428365c4c0b447d
Author: Matthew Miller <mattdm(a)mattdm.org>
Date: Tue May 14 22:59:37 2013 -0400
don't need iprutils in cloud image
diff --git a/generic/fedora-19-i386-cloud.ks b/generic/fedora-19-i386-cloud.ks
index 04f6cf3..515759a 100644
--- a/generic/fedora-19-i386-cloud.ks
+++ b/generic/fedora-19-i386-cloud.ks
@@ -71,6 +71,7 @@ rsync
-plymouth
-NetworkManager
-polkit
+-iprutils
%end
diff --git a/generic/fedora-19-i386-minimal.ks b/generic/fedora-19-i386-minimal.ks
index 17b4a3d..7bfd635 100644
--- a/generic/fedora-19-i386-minimal.ks
+++ b/generic/fedora-19-i386-minimal.ks
@@ -64,6 +64,7 @@ iptables-services
-plymouth
-NetworkManager
-polkit
+-iprutils
# These are "leaf" packages which can be done without in an ultra-minimal
# install, but which actually remove typical functionality
diff --git a/generic/fedora-19-i386.ks b/generic/fedora-19-i386.ks
index f55062e..aa36b1a 100644
--- a/generic/fedora-19-i386.ks
+++ b/generic/fedora-19-i386.ks
@@ -64,6 +64,7 @@ rsync
-plymouth
-NetworkManager
-polkit
+-iprutils
%end
diff --git a/generic/fedora-19-x86_64-cloud.ks b/generic/fedora-19-x86_64-cloud.ks
index debf7a0..93dba1a 100644
--- a/generic/fedora-19-x86_64-cloud.ks
+++ b/generic/fedora-19-x86_64-cloud.ks
@@ -71,6 +71,7 @@ rsync
-plymouth
-NetworkManager
-polkit
+-iprutils
%end
diff --git a/generic/fedora-19-x86_64-minimal.ks b/generic/fedora-19-x86_64-minimal.ks
index bc72589..0c583d3 100644
--- a/generic/fedora-19-x86_64-minimal.ks
+++ b/generic/fedora-19-x86_64-minimal.ks
@@ -65,6 +65,7 @@ iptables-services
-plymouth
-NetworkManager
-polkit
+-iprutils
# These are "leaf" packages which can be done without in an ultra-minimal
# install, but which actually remove typical functionality
diff --git a/generic/fedora-19-x86_64.ks b/generic/fedora-19-x86_64.ks
index 6f24ab7..ef2555e 100644
--- a/generic/fedora-19-x86_64.ks
+++ b/generic/fedora-19-x86_64.ks
@@ -65,6 +65,7 @@ rsync
-plymouth
-NetworkManager
-polkit
+-iprutils
%end
10 years, 11 months
Ryu in the context of Fedora
by Kyle Mestery (kmestery)
Robyn asked me to send something out to the cloud sig around Ryu. For those unfamiliar, check it out here:
http://osrg.github.com/ryu/
And the Fedora wiki entry for it here:
http://fedoraproject.org/wiki/Features/Ryu
Ryu is itself labeled as a "Network Operating System". It is effectively a Controller which can control Open vSwitch instances on the host, in addition to being able to control other devices speaking OpenFlow (e.g. switches which support OpenFlow). Ryu allows you to write applications on top of it as well. A simple application included is a simple L2 learning switch. There is also integration with OpenStack Networking (the project formerly known as Quantum) via a plugin.
Now, in the context of Fedora, I've been using Fedora+Ryu as one of my main OpenStack development environments, and from what I can tell, because Fedora doesn't use the upstream Open vSwitch kernel module and loses things like patch ports. I'm wondering if others have seen this issue on Fedora? I have not opened a bug on this yet, but can do that soon. I suspect the OpenStack Networking gerrit review listed below may make this work again, as it uses veth ports instead of OVS patch-ports to connect OVS bridges:
https://review.openstack.org/#/c/27054/
Robyn, please chime in and let me know if there is anything else in the context of Ryu that you'd like to discuss.
Thanks,
Kyle
10 years, 11 months
2 commits - ec2/fedora-19-i386-ec2.ks ec2/fedora-19-x86_64-ec2.ks 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
ec2/fedora-19-i386-ec2.ks | 168 ------------------------------------
ec2/fedora-19-x86_64-ec2.ks | 168 ------------------------------------
generic/fedora-19-i386-cloud.ks | 4
generic/fedora-19-i386-minimal.ks | 4
generic/fedora-19-i386.ks | 4
generic/fedora-19-x86_64-cloud.ks | 4
generic/fedora-19-x86_64-minimal.ks | 4
generic/fedora-19-x86_64.ks | 4
8 files changed, 26 insertions(+), 334 deletions(-)
New commits:
commit 8026cafc3374899831a4f5667abad585cb7924e5
Author: Matthew Miller <mattdm(a)mattdm.org>
Date: Tue May 14 11:11:44 2013 -0400
note on appliance-creator for f19
diff --git a/generic/fedora-19-i386-cloud.ks b/generic/fedora-19-i386-cloud.ks
index f34cbb6..04f6cf3 100644
--- a/generic/fedora-19-i386-cloud.ks
+++ b/generic/fedora-19-i386-cloud.ks
@@ -7,6 +7,10 @@
#
# Note that unlike the standard F19 install, this image has /tmp on disk
# rather than in tmpfs, since memory is usually at a premium.
+#
+# This kickstart file is designed to be used with appliance-creator and
+# may need slight modification for use with actual anaconda or other tools.
+# We intend to target anaconda-in-a-vm style image building for F20.
lang en_US.UTF-8
keyboard us
diff --git a/generic/fedora-19-i386-minimal.ks b/generic/fedora-19-i386-minimal.ks
index 27c2e0a..17b4a3d 100644
--- a/generic/fedora-19-i386-minimal.ks
+++ b/generic/fedora-19-i386-minimal.ks
@@ -8,6 +8,10 @@
# If you're interested in making this more minimal, big problems to solve
# are the not-needed-for-cloud kernel modules and the gigantic locale
# database. After that, it's chipping at dependencies.
+#
+# This kickstart file is designed to be used with appliance-creator and
+# may need slight modification for use with actual anaconda or other tools.
+# We intend to target anaconda-in-a-vm style image building for F20.
lang en_US.UTF-8
keyboard us
diff --git a/generic/fedora-19-i386.ks b/generic/fedora-19-i386.ks
index 80cf833..f55062e 100644
--- a/generic/fedora-19-i386.ks
+++ b/generic/fedora-19-i386.ks
@@ -2,6 +2,10 @@
# private cloud environments. This flavor isn't configured with cloud-init
# or any other metadata service; you'll need your own say of getting
# user (or root) credentials on the system.
+#
+# This kickstart file is designed to be used with appliance-creator and
+# may need slight modification for use with actual anaconda or other tools.
+# We intend to target anaconda-in-a-vm style image building for F20.
lang en_US.UTF-8
keyboard us
diff --git a/generic/fedora-19-x86_64-cloud.ks b/generic/fedora-19-x86_64-cloud.ks
index 4c6ad5b..debf7a0 100644
--- a/generic/fedora-19-x86_64-cloud.ks
+++ b/generic/fedora-19-x86_64-cloud.ks
@@ -7,6 +7,10 @@
#
# Note that unlike the standard F19 install, this image has /tmp on disk
# rather than in tmpfs, since memory is usually at a premium.
+#
+# This kickstart file is designed to be used with appliance-creator and
+# may need slight modification for use with actual anaconda or other tools.
+# We intend to target anaconda-in-a-vm style image building for F20.
lang en_US.UTF-8
keyboard us
diff --git a/generic/fedora-19-x86_64-minimal.ks b/generic/fedora-19-x86_64-minimal.ks
index 92a8874..bc72589 100644
--- a/generic/fedora-19-x86_64-minimal.ks
+++ b/generic/fedora-19-x86_64-minimal.ks
@@ -8,6 +8,10 @@
# If you're interested in making this more minimal, big problems to solve
# are the not-needed-for-cloud kernel modules and the gigantic locale
# database. After that, it's chipping at dependencies.
+#
+# This kickstart file is designed to be used with appliance-creator and
+# may need slight modification for use with actual anaconda or other tools.
+# We intend to target anaconda-in-a-vm style image building for F20.
lang en_US.UTF-8
keyboard us
diff --git a/generic/fedora-19-x86_64.ks b/generic/fedora-19-x86_64.ks
index 02cb9b6..6f24ab7 100644
--- a/generic/fedora-19-x86_64.ks
+++ b/generic/fedora-19-x86_64.ks
@@ -2,6 +2,10 @@
# private cloud environments. This flavor isn't configured with cloud-init
# or any other metadata service; you'll need your own say of getting
# user (or root) credentials on the system.
+#
+# This kickstart file is designed to be used with appliance-creator and
+# may need slight modification for use with actual anaconda or other tools.
+# We intend to target anaconda-in-a-vm style image building for F20.
lang en_US.UTF-8
keyboard us
commit 28398f59a3b9a2b133ba00b0ac359b87616b266a
Author: Matthew Miller <mattdm(a)mattdm.org>
Date: Mon May 13 13:11:30 2013 -0400
Change the F19 ec2 kickstarts to be symlinks to the generic cloud
kickstarts -- I think we've successfully excised the differences.
diff --git a/ec2/fedora-19-i386-ec2.ks b/ec2/fedora-19-i386-ec2.ks
deleted file mode 100644
index 928f342..0000000
--- a/ec2/fedora-19-i386-ec2.ks
+++ /dev/null
@@ -1,167 +0,0 @@
-# This is a basic Fedora 18 spin designed to work in Amazon EC2.
-# It's configured with cloud-init so it will take advantage of
-# ec2-compatible metadata services for provisioning ssh keys. That also
-# currently creates an ec2-user account; we'll probably want to make that
-# something generic by default. The root password is empty by default.
-#
-# Note that unlike the standard F18 install, this image has /tmp on disk
-# rather than in tmpfs, since memory is usually at a premium.
-
-lang en_US.UTF-8
-keyboard us
-timezone --utc America/New_York
-
-auth --useshadow --enablemd5
-selinux --enforcing
-
-# this is actually not used, but a static firewall
-# matching these rules is generated below.
-firewall --service=ssh
-
-bootloader --timeout=0 --location=mbr --driveorder=sda
-
-network --bootproto=dhcp --device=eth0 --onboot=on
-services --enabled=network,sshd,rsyslog,iptables,cloud-init,cloud-init-local,cloud-config,cloud-final
-
-# This would let fussy grub2 install, but will break in EC2
-#part biosboot --fstype=biosboot --size=1 --ondisk sda
-part / --size 10000 --fstype ext4 --ondisk sda
-
-# Repositories
-repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-19&arch=$basearch
-
-
-# Package list.
-%packages --nobase
-@core
-kernel-PAE
-
-# cloud-init does magical things with EC2 metadata, including provisioning
-# a user account with ssh keys.
-cloud-init
-
-# Needed initially, but removed below.
-firewalld
-
-# Basic firewall. If you're going to rely on your cloud service's
-# security groups you can remove this.
-iptables-services
-
-# cherry-pick a few things from @standard
-tmpwatch
-tar
-rsync
-
-# Some things from @core we can do without in a minimal install
--biosdevname
--plymouth
--NetworkManager
--polkit
-
-%end
-
-
-
-%post --erroronfail
-
-echo -n "Writing fstab"
-cat <<EOF > /etc/fstab
-LABEL=_/ / ext4 defaults 1 1
-EOF
-echo .
-
-# workaround xen performance issue (bz 651861)
-echo "hwcap 1 nosegneg" > /etc/ld.so.conf.d/libc6-xen.conf
-
-echo -n "Grub tweaks"
-echo GRUB_TIMEOUT=0 > /etc/default/grub
-sed -i '1i# This file is for use with pv-grub; legacy grub is not installed in this image' /boot/grub/grub.conf
-sed -i 's/^timeout=5/timeout=0/' /boot/grub/grub.conf
-sed -i 's/^default=1/default=0/' /boot/grub/grub.conf
-sed -i '/splashimage/d' /boot/grub/grub.conf
-# need to file a bug on this one
-sed -i 's/root=.*/root=LABEL=_\//' /boot/grub/grub.conf
-echo .
-if ! [[ -e /boot/grub/menu.lst ]]; then
- echo -n "Linking menu.lst to old-style grub.conf for pv-grub"
- ln /boot/grub/grub.conf /boot/grub/menu.lst
- ln -sf /boot/grub/grub.conf /etc/grub.conf
-fi
-
-# setup systemd to boot to the right runlevel
-echo -n "Setting default runlevel to multiuser text mode"
-rm -f /etc/systemd/system/default.target
-ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
-echo .
-
-# If you want to remove rsyslog and just use journald, also uncomment this.
-#echo -n "Enabling persistent journal"
-#mkdir /var/log/journal/
-#echo .
-
-# this is installed by default but we don't need it in virt
-echo "Removing linux-firmware package."
-yum -C -y remove linux-firmware
-
-# Remove firewalld; was supposed to be optional in F18, but is required to
-# be present for install/image building.
-echo "Removing firewalld."
-yum -C -y remove firewalld
-
-# Non-firewalld-firewall
-echo -n "Writing static firewall"
-cat <<EOF > /etc/sysconfig/iptables
-# Simple static firewall loaded by iptables.service. Replace
-# this with your own custom rules, run lokkit, or switch to
-# shorewall or firewalld as your needs dictate.
-*filter
-:INPUT ACCEPT [0:0]
-:FORWARD ACCEPT [0:0]
-:OUTPUT ACCEPT [0:0]
--A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
--A INPUT -p icmp -j ACCEPT
--A INPUT -i lo -j ACCEPT
--A INPUT -m conntrack --ctstate NEW -m tcp -p tcp --dport 22 -j ACCEPT
-#-A INPUT -m conntrack --ctstate NEW -m tcp -p tcp --dport 80 -j ACCEPT
-#-A INPUT -m conntrack --ctstate NEW -m tcp -p tcp --dport 443 -j ACCEPT
--A INPUT -j REJECT --reject-with icmp-host-prohibited
--A FORWARD -j REJECT --reject-with icmp-host-prohibited
-COMMIT
-EOF
-echo .
-
-# Because memory is scarce resource in most cloud/virt environments,
-# and because this impedes forensics, we are differing from the Fedora
-# default of having /tmp on tmpfs.
-echo "Disabling tmpfs for /tmp."
-systemctl mask tmp.mount
-
-# appliance-creator does not make this important file.
-if [ ! -e /etc/sysconfig/kernel ]; then
-echo "Creating /etc/sysconfig/kernel."
-cat <<EOF > /etc/sysconfig/kernel
-# UPDATEDEFAULT specifies if new-kernel-pkg should make
-# new kernels the default
-UPDATEDEFAULT=yes
-
-# DEFAULTKERNEL specifies the default kernel package type
-DEFAULTKERNEL=kernel-PAE
-EOF
-fi
-
-# Uncomment this if you want to use cloud init but suppress the creation
-# of an "ec2-user" account. This will, in the absence of further config,
-# cause the ssh key from a metadata source to be put in the root account.
-#cat <<EOF > /etc/cloud/cloud.cfg.d/50_suppress_ec2-user_use_root.cfg
-#users: []
-#disable_root: 0
-#EOF
-
-echo "Zeroing out empty space."
-# This forces the filesystem to reclaim space from deleted files
-dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
-rm -f /var/tmp/zeros
-echo "(Don't worry -- that out-of-space error was expected.)"
-
-%end
-
diff --git a/ec2/fedora-19-i386-ec2.ks b/ec2/fedora-19-i386-ec2.ks
new file mode 120000
index 0000000..0cfb56d
--- /dev/null
+++ b/ec2/fedora-19-i386-ec2.ks
@@ -0,0 +1 @@
+../generic/fedora-19-i386-cloud.ks
\ No newline at end of file
diff --git a/ec2/fedora-19-x86_64-ec2.ks b/ec2/fedora-19-x86_64-ec2.ks
deleted file mode 100644
index 3250fd4..0000000
--- a/ec2/fedora-19-x86_64-ec2.ks
+++ /dev/null
@@ -1,167 +0,0 @@
-# This is a basic Fedora 18 spin designed to work in Amazon EC2.
-# It's configured with cloud-init so it will take advantage of
-# ec2-compatible metadata services for provisioning ssh keys. That also
-# currently creates an ec2-user account; we'll probably want to make that
-# something generic by default. The root password is empty by default.
-#
-# Note that unlike the standard F18 install, this image has /tmp on disk
-# rather than in tmpfs, since memory is usually at a premium.
-
-lang en_US.UTF-8
-keyboard us
-timezone --utc America/New_York
-
-auth --useshadow --enablemd5
-selinux --enforcing
-
-# this is actually not used, but a static firewall
-# matching these rules is generated below.
-firewall --service=ssh
-
-bootloader --timeout=0 --location=mbr --driveorder=sda
-
-network --bootproto=dhcp --device=eth0 --onboot=on
-services --enabled=network,sshd,rsyslog,iptables,cloud-init,cloud-init-local,cloud-config,cloud-final
-
-# This would let fussy grub2 install, but will break in EC2
-#part biosboot --fstype=biosboot --size=1 --ondisk sda
-part / --size 10000 --fstype ext4 --ondisk sda
-
-# Repositories
-repo --name=fedora --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-18&arch=$basearch
-
-
-# Package list.
-%packages --nobase
-@core
-kernel
-
-# cloud-init does magical things with EC2 metadata, including provisioning
-# a user account with ssh keys.
-cloud-init
-
-# Needed initially, but removed below.
-firewalld
-
-# Basic firewall. If you're going to rely on your cloud service's
-# security groups you can remove this.
-iptables-services
-
-# cherry-pick a few things from @standard
-tmpwatch
-tar
-rsync
-
-# Some things from @core we can do without in a minimal install
--biosdevname
--plymouth
--NetworkManager
--polkit
-
-%end
-
-
-
-%post --erroronfail
-
-echo -n "Writing fstab"
-cat <<EOF > /etc/fstab
-LABEL=_/ / ext4 defaults 1 1
-EOF
-echo .
-
-# workaround xen performance issue (bz 651861)
-echo "hwcap 1 nosegneg" > /etc/ld.so.conf.d/libc6-xen.conf
-
-echo -n "Grub tweaks"
-echo GRUB_TIMEOUT=0 > /etc/default/grub
-sed -i '1i# This file is for use with pv-grub; legacy grub is not installed in this image' /boot/grub/grub.conf
-sed -i 's/^timeout=5/timeout=0/' /boot/grub/grub.conf
-sed -i 's/^default=1/default=0/' /boot/grub/grub.conf
-sed -i '/splashimage/d' /boot/grub/grub.conf
-# need to file a bug on this one
-sed -i 's/root=.*/root=LABEL=_\//' /boot/grub/grub.conf
-echo .
-if ! [[ -e /boot/grub/menu.lst ]]; then
- echo -n "Linking menu.lst to old-style grub.conf for pv-grub"
- ln /boot/grub/grub.conf /boot/grub/menu.lst
- ln -sf /boot/grub/grub.conf /etc/grub.conf
-fi
-
-# setup systemd to boot to the right runlevel
-echo -n "Setting default runlevel to multiuser text mode"
-rm -f /etc/systemd/system/default.target
-ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
-echo .
-
-# If you want to remove rsyslog and just use journald, also uncomment this.
-#echo -n "Enabling persistent journal"
-#mkdir /var/log/journal/
-#echo .
-
-# this is installed by default but we don't need it in virt
-echo "Removing linux-firmware package."
-yum -C -y remove linux-firmware
-
-# Remove firewalld; was supposed to be optional in F18, but is required to
-# be present for install/image building.
-echo "Removing firewalld."
-yum -C -y remove firewalld
-
-# Non-firewalld-firewall
-echo -n "Writing static firewall"
-cat <<EOF > /etc/sysconfig/iptables
-# Simple static firewall loaded by iptables.service. Replace
-# this with your own custom rules, run lokkit, or switch to
-# shorewall or firewalld as your needs dictate.
-*filter
-:INPUT ACCEPT [0:0]
-:FORWARD ACCEPT [0:0]
-:OUTPUT ACCEPT [0:0]
--A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
--A INPUT -p icmp -j ACCEPT
--A INPUT -i lo -j ACCEPT
--A INPUT -m conntrack --ctstate NEW -m tcp -p tcp --dport 22 -j ACCEPT
-#-A INPUT -m conntrack --ctstate NEW -m tcp -p tcp --dport 80 -j ACCEPT
-#-A INPUT -m conntrack --ctstate NEW -m tcp -p tcp --dport 443 -j ACCEPT
--A INPUT -j REJECT --reject-with icmp-host-prohibited
--A FORWARD -j REJECT --reject-with icmp-host-prohibited
-COMMIT
-EOF
-echo .
-
-# Because memory is scarce resource in most cloud/virt environments,
-# and because this impedes forensics, we are differing from the Fedora
-# default of having /tmp on tmpfs.
-echo "Disabling tmpfs for /tmp."
-systemctl mask tmp.mount
-
-# appliance-creator does not make this important file.
-if [ ! -e /etc/sysconfig/kernel ]; then
-echo "Creating /etc/sysconfig/kernel."
-cat <<EOF > /etc/sysconfig/kernel
-# UPDATEDEFAULT specifies if new-kernel-pkg should make
-# new kernels the default
-UPDATEDEFAULT=yes
-
-# DEFAULTKERNEL specifies the default kernel package type
-DEFAULTKERNEL=kernel
-EOF
-fi
-
-# Uncomment this if you want to use cloud init but suppress the creation
-# of an "ec2-user" account. This will, in the absence of further config,
-# cause the ssh key from a metadata source to be put in the root account.
-#cat <<EOF > /etc/cloud/cloud.cfg.d/50_suppress_ec2-user_use_root.cfg
-#users: []
-#disable_root: 0
-#EOF
-
-echo "Zeroing out empty space."
-# This forces the filesystem to reclaim space from deleted files
-dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
-rm -f /var/tmp/zeros
-echo "(Don't worry -- that out-of-space error was expected.)"
-
-%end
-
diff --git a/ec2/fedora-19-x86_64-ec2.ks b/ec2/fedora-19-x86_64-ec2.ks
new file mode 120000
index 0000000..1e50c9a
--- /dev/null
+++ b/ec2/fedora-19-x86_64-ec2.ks
@@ -0,0 +1 @@
+../generic/fedora-19-x86_64-cloud.ks
\ No newline at end of file
10 years, 11 months