diff options
author | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-09-26 16:11:43 +0000 |
---|---|---|
committer | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-09-26 16:11:43 +0000 |
commit | 31523d946fb104c8153f32d202ac710e739e58c0 (patch) | |
tree | 740d9b468aca53758fbdeefc3f02a1b63f13cbae /src/lib | |
parent | 1cb2081eb7ece5b3f3ab335599f22095f7250f99 (diff) | |
download | bcfg2-31523d946fb104c8153f32d202ac710e739e58c0.tar.gz bcfg2-31523d946fb104c8153f32d202ac710e739e58c0.tar.bz2 bcfg2-31523d946fb104c8153f32d202ac710e739e58c0.zip |
bug in new host addition
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2315 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Server/Hostbase/hostbase/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Hostbase/hostbase/views.py b/src/lib/Server/Hostbase/hostbase/views.py index ad681bf76..757b43da0 100644 --- a/src/lib/Server/Hostbase/hostbase/views.py +++ b/src/lib/Server/Hostbase/hostbase/views.py @@ -533,7 +533,7 @@ def new(request): if request.POST['mac_addr_new2']: new_inter = Interface(host=host, mac_addr=request.POST['mac_addr_new2'], - hdwr_type=request.POST['hdwr_addr_new2']) + hdwr_type=request.POST['mac_addr_new2']) new_inter.save() if request.POST['mac_addr_new2'] and request.POST['ip_addr_new2']: new_ip = IP(interface=new_inter, num=0, |