[spin-kickstarts] use 'cmdline' for text-based install for docker image
by Matthew Miller
commit 22c7c00a6b8a8217c296e68700c305a239c6f71b
Author: Matthew Miller <mattdm(a)mattdm.org>
Date: Wed Sep 3 13:20:26 2014 -0400
use 'cmdline' for text-based install for docker image
fedora-docker-base.ks | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/fedora-docker-base.ks b/fedora-docker-base.ks
index 1a335d3..44022d9 100644
--- a/fedora-docker-base.ks
+++ b/fedora-docker-base.ks
@@ -3,7 +3,7 @@
# To keep this image minimal it only installs English language. You need to change
# yum configuration in order to enable other languages.
-
+cmdline
bootloader --location=none
timezone America/New_York --isUtc --nontp
rootpw --plaintext qweqwe
9 years, 7 months
[spin-kickstarts/f21] use 'cmdline' for text-based install for docker image
by Matthew Miller
commit 38dbba6109b604c679641d8f83eb2df0a7efea53
Author: Matthew Miller <mattdm(a)mattdm.org>
Date: Wed Sep 3 13:19:25 2014 -0400
use 'cmdline' for text-based install for docker image
fedora-docker-base.ks | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/fedora-docker-base.ks b/fedora-docker-base.ks
index 7ff064d..78e5b93 100644
--- a/fedora-docker-base.ks
+++ b/fedora-docker-base.ks
@@ -3,7 +3,7 @@
# To keep this image minimal it only installs English language. You need to change
# yum configuration in order to enable other languages.
-
+cmdline
bootloader --location=none
timezone America/New_York --isUtc --nontp
rootpw --plaintext qweqwe
9 years, 7 months
[spin-kickstarts/f21] set up tmpfs in fstab, not livesys service (fixes #1135475)
by Adam Williamson
commit fe13dc4352165287bbd2d20afbfee017ef8a1743
Author: Adam Williamson <awilliam(a)redhat.com>
Date: Tue Sep 2 08:39:35 2014 -0700
set up tmpfs in fstab, not livesys service (fixes #1135475)
fedora-live-base.ks | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/fedora-live-base.ks b/fedora-live-base.ks
index 9929fb7..395f6da 100644
--- a/fedora-live-base.ks
+++ b/fedora-live-base.ks
@@ -156,12 +156,6 @@ if ! strstr "\`cat /proc/cmdline\`" nopersistenthome && [ -n "\$homedev" ] ; the
action "Mounting persistent /home" mountPersistentHome
fi
-# make it so that we don't do writing to the overlay for things which
-# are just tmpdirs/caches
-mount -t tmpfs -o mode=0755 varcacheyum /var/cache/yum
-mount -t tmpfs vartmp /var/tmp
-[ -x /sbin/restorecon ] && /sbin/restorecon /var/cache/yum /var/tmp >/dev/null 2>&1
-
if [ -n "\$configdone" ]; then
exit 0
fi
@@ -275,6 +269,14 @@ chmod 755 /etc/rc.d/init.d/livesys-late
# enable tmpfs for /tmp
systemctl enable tmp.mount
+# make it so that we don't do writing to the overlay for things which
+# are just tmpdirs/caches
+# note https://bugzilla.redhat.com/show_bug.cgi?id=1135475
+cat >> /etc/fstab << EOF
+vartmp /var/tmp tmpfs defaults 0 0
+varcacheyum /var/cache/yum tmpfs mode=0755,context=system_u:object_r:rpm_var_cache_t:s0 0 0
+EOF
+
# work around for poor key import UI in PackageKit
rm -f /var/lib/rpm/__db*
releasever=$(rpm -q --qf '%{version}\n' --whatprovides system-release)
9 years, 7 months
[spin-kickstarts: 1/2] set up tmpfs in fstab, not livesys service (fixes #1135475)
by Adam Williamson
commit 629c19368cb0bbe47f69e12e48b7160ac0cde670
Author: Adam Williamson <awilliam(a)redhat.com>
Date: Tue Sep 2 08:39:35 2014 -0700
set up tmpfs in fstab, not livesys service (fixes #1135475)
fedora-live-base.ks | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/fedora-live-base.ks b/fedora-live-base.ks
index 9929fb7..395f6da 100644
--- a/fedora-live-base.ks
+++ b/fedora-live-base.ks
@@ -156,12 +156,6 @@ if ! strstr "\`cat /proc/cmdline\`" nopersistenthome && [ -n "\$homedev" ] ; the
action "Mounting persistent /home" mountPersistentHome
fi
-# make it so that we don't do writing to the overlay for things which
-# are just tmpdirs/caches
-mount -t tmpfs -o mode=0755 varcacheyum /var/cache/yum
-mount -t tmpfs vartmp /var/tmp
-[ -x /sbin/restorecon ] && /sbin/restorecon /var/cache/yum /var/tmp >/dev/null 2>&1
-
if [ -n "\$configdone" ]; then
exit 0
fi
@@ -275,6 +269,14 @@ chmod 755 /etc/rc.d/init.d/livesys-late
# enable tmpfs for /tmp
systemctl enable tmp.mount
+# make it so that we don't do writing to the overlay for things which
+# are just tmpdirs/caches
+# note https://bugzilla.redhat.com/show_bug.cgi?id=1135475
+cat >> /etc/fstab << EOF
+vartmp /var/tmp tmpfs defaults 0 0
+varcacheyum /var/cache/yum tmpfs mode=0755,context=system_u:object_r:rpm_var_cache_t:s0 0 0
+EOF
+
# work around for poor key import UI in PackageKit
rm -f /var/lib/rpm/__db*
releasever=$(rpm -q --qf '%{version}\n' --whatprovides system-release)
9 years, 7 months
[spin-kickstarts] atomic folks decided to willy nilly change things so adjust appropriately
by Dennis Gilmore
commit ad74864bd62f759621f6db264826cb83bd7c043c
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Fri Aug 22 11:27:22 2014 -0500
atomic folks decided to willy nilly change things so adjust appropriately
Conflicts:
fedora-cloud-atomic.ks
fedora-cloud-atomic.ks | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/fedora-cloud-atomic.ks b/fedora-cloud-atomic.ks
index 1b628ce..c77ffec 100644
--- a/fedora-cloud-atomic.ks
+++ b/fedora-cloud-atomic.ks
@@ -27,7 +27,7 @@ clearpart --all
autopart
# Equivalent of %include fedora-repo.ks
-ostreesetup --osname="fedora-atomic" --remote="fedora-atomic" --url="http://dl.fedoraproject.org/repo" --nogpg
+ostreesetup --nogpg --osname=fedora-atomic-host --remote=installmedia --url=http://kojipkgs.fedoraproject.org/mash/atomic/ --ref=fedora-atomic/rawhide/x86_64/docker-host
reboot
9 years, 7 months