aboutsummaryrefslogtreecommitdiffstats
path: root/src/resource_inventory
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2021-02-08 11:42:41 -0500
committerSawyer Bergeron <sbergeron@iol.unh.edu>2021-02-08 13:16:36 -0500
commitdb4c2dc4c4f0d86e0a00e8409eed74a0bcffb20b (patch)
tree922caac43724670eb70473d4d0afef173ba0da4a /src/resource_inventory
parent9c200b5a15a336e3a3fc8d7ddac53053bc3b6ffe (diff)
Add migration to set rconfig hostname to a valid linux hostname
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: Ib737dc25de37dd9d1c29a4e15f95da0fb68ddfc8 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Diffstat (limited to 'src/resource_inventory')
-rw-r--r--src/resource_inventory/migrations/0018_manual_change_rconfig_default_name.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/resource_inventory/migrations/0018_manual_change_rconfig_default_name.py b/src/resource_inventory/migrations/0018_manual_change_rconfig_default_name.py
new file mode 100644
index 0000000..b3459bf
--- /dev/null
+++ b/src/resource_inventory/migrations/0018_manual_change_rconfig_default_name.py
@@ -0,0 +1,14 @@
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+ dependencies = [
+ ('resource_inventory', '0016_auto_20201109_1947'),
+ ]
+ operations = [
+ migrations.AlterField(
+ model_name='resourceconfiguration',
+ name='name',
+ field=models.CharField(default='opnfv-host')
+ ),
+ ]