aboutsummaryrefslogtreecommitdiffstats
path: root/src/resource_inventory
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2020-12-18 09:53:49 -0500
committerSawyer Bergeron <sbergeron@iol.unh.edu>2020-12-18 14:56:42 +0000
commitc089784cc3b3708cf89f79962d62de66b009fc05 (patch)
tree76af69fdda4fb6700e24db8dd940ecc69769f7db /src/resource_inventory
parent5d6508e277e2c373d8e2cde320a2537f42c8189d (diff)
Fix hostname default to be valid linux hostname2.1.1-rc12.1.1
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: I898c4e4a03261a1bf0f3f56dbc32104c9b5f3ee9
Diffstat (limited to 'src/resource_inventory')
-rw-r--r--src/resource_inventory/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resource_inventory/models.py b/src/resource_inventory/models.py
index e2f2fea..7fe479a 100644
--- a/src/resource_inventory/models.py
+++ b/src/resource_inventory/models.py
@@ -233,7 +233,7 @@ class ResourceConfiguration(models.Model):
image = models.ForeignKey("Image", on_delete=models.PROTECT)
template = models.ForeignKey(ResourceTemplate, related_name="resourceConfigurations", null=True, on_delete=models.CASCADE)
is_head_node = models.BooleanField(default=False)
- name = models.CharField(max_length=3000, default="<Hostname>")
+ name = models.CharField(max_length=3000, default="opnfv_host")
def __str__(self):
return str(self.name)