From 173ae42a550e65150e7d44248b44bc44ab3299cc Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Sat, 23 Dec 2006 01:46:12 +0000 Subject: More gentoo updates from mjinks git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2609 ce84e21b-d406-0410-9b95-82705330c041 --- src/sbin/bcfg2-admin | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/sbin/bcfg2-admin') diff --git a/src/sbin/bcfg2-admin b/src/sbin/bcfg2-admin index 56ac43f58..76985712d 100755 --- a/src/sbin/bcfg2-admin +++ b/src/sbin/bcfg2-admin @@ -42,6 +42,7 @@ groups = ''' + ''' clients = ''' @@ -58,6 +59,7 @@ c. Mandrake d. Debian e. Ubuntu f. Solaris +g. Gentoo ''' def err_exit(msg): @@ -108,7 +110,7 @@ def initialize_repo(): while ( selection == '' ): print prompt selection = raw_input(" selection: ") - if selection.lower() not in 'abcde': + if selection.lower() not in 'abcdefg': selection = '' if selection.lower() == 'a': selection = 'redhat' @@ -122,6 +124,8 @@ def initialize_repo(): selection = 'ubuntu' elif selection.lower() == 'f': selection = 'solaris' + elif selection.lower() == 'g': + selection = 'gentoo' open("%s/Metadata/groups.xml"%repo, "w").write(groups%selection) -- cgit v1.2.3-1-g7c22