diff options
author | Andrew Brestick <brestick@mcs.anl.gov> | 2008-07-31 14:59:22 +0000 |
---|---|---|
committer | Andrew Brestick <brestick@mcs.anl.gov> | 2008-07-31 14:59:22 +0000 |
commit | 7c6c1636a0841ea9c5b28a4223c0cd3677eede53 (patch) | |
tree | ee854c4220d463501e0a9341b7b26ff359761f21 /src/lib/Server | |
parent | ad6ac403ada75067c3858d19f16be97ef971c84d (diff) | |
download | bcfg2-7c6c1636a0841ea9c5b28a4223c0cd3677eede53.tar.gz bcfg2-7c6c1636a0841ea9c5b28a4223c0cd3677eede53.tar.bz2 bcfg2-7c6c1636a0841ea9c5b28a4223c0cd3677eede53.zip |
minor fixes to bb plugin
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4844 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server')
-rw-r--r-- | src/lib/Server/Plugins/BB.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Plugins/BB.py b/src/lib/Server/Plugins/BB.py index fda1e14bc..af3f3d379 100644 --- a/src/lib/Server/Plugins/BB.py +++ b/src/lib/Server/Plugins/BB.py @@ -14,7 +14,7 @@ PROFILE_MAP = {"ubuntu-i386":"compute-node", "bbsto":"fileserver", "bblogin":"head-node"} -DOMAIN_SUFFIX = "" # default is .mcs.anl.gov +DOMAIN_SUFFIX = ".mcs.anl.gov" # default is .mcs.anl.gov PXE_CONFIG = "pxelinux.0" # default is pxelinux.0 @@ -192,7 +192,7 @@ class BB(Bcfg2.Server.Plugin.GeneratorPlugin, profile = PROFILE_MAP["peta"] elif "bbsto" in host: profile = PROFILE_MAP["bbsto"] - elif "bblogin" in host: + elif "login" in host: profile = PROFILE_MAP["bblogin"] else: profile = "basic" |