Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu User (http://www.linux-archive.org/ubuntu-user/)
-   -   Add /etc/sysctl.d/anaconda.conf, set kernel.printk=1 (#816022) (http://www.linux-archive.org/ubuntu-user/659688-add-etc-sysctl-d-anaconda-conf-set-kernel-printk-1-816022-a.html)

Will Woods 04-25-2012 10:22 PM

Add /etc/sysctl.d/anaconda.conf, set kernel.printk=1 (#816022)
 
We use this to set various sysctl settings, like setting kernel.printk=1
so we don't get the screen all crudded up with kernel messages during
text-mode installs.
---
share/config_files/common/sysctl.conf | 1 +
share/runtime-postinstall.tmpl | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
create mode 100644 share/config_files/common/sysctl.conf

diff --git a/share/config_files/common/sysctl.conf b/share/config_files/common/sysctl.conf
new file mode 100644
index 0000000..a95dfc6
--- /dev/null
+++ b/share/config_files/common/sysctl.conf
@@ -0,0 +1 @@
+kernel.printk=1
diff --git a/share/runtime-postinstall.tmpl b/share/runtime-postinstall.tmpl
index 224394c..6af3498 100644
--- a/share/runtime-postinstall.tmpl
+++ b/share/runtime-postinstall.tmpl
@@ -42,6 +42,7 @@ install ${configdir}/rsyslog.conf etc
install ${configdir}/bash_history root/.bash_history
install ${configdir}/profile root/.profile
install ${configdir}/libuser.conf etc
+install ${configdir}/sysctl.conf etc/sysctl.d/anaconda.conf
%if exists(root+"/etc/selinux/targeted"):
install ${configdir}/selinux.config etc/selinux/config
%endif
--
1.7.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 10:35 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.