aboutsummaryrefslogtreecommitdiffstats
path: root/src/booking/quick_deployer.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/booking/quick_deployer.py')
-rw-r--r--src/booking/quick_deployer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/booking/quick_deployer.py b/src/booking/quick_deployer.py
index 7865ee4..0a3bfc6 100644
--- a/src/booking/quick_deployer.py
+++ b/src/booking/quick_deployer.py
@@ -205,7 +205,7 @@ def create_from_form(form, request):
purpose_field = form.cleaned_data['purpose']
project_field = form.cleaned_data['project']
users_field = form.cleaned_data['users']
- hostname = form.cleaned_data['hostname']
+ hostname = 'opnfv_host' if not form.cleaned_data['hostname'] else form.cleaned_data['hostname']
length = form.cleaned_data['length']
image = form.cleaned_data['image']