diff options
author | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2021-02-08 11:42:41 -0500 |
---|---|---|
committer | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2021-02-08 19:26:34 +0000 |
commit | 01167232628eab74d3c4be44345dd3798da81135 (patch) | |
tree | 4dfee846f6fbc6bed8b0a37c39664e3f5bdd7401 | |
parent | b28a17658565e07bbef9130550d1530f7678ef3f (diff) |
Add migration to set rconfig hostname to a valid linux hostname2.2.1
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Change-Id: Ib737dc25de37dd9d1c29a4e15f95da0fb68ddfc8
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
(cherry picked from commit db4c2dc4c4f0d86e0a00e8409eed74a0bcffb20b)
-rw-r--r-- | src/resource_inventory/migrations/0018_manual_change_rconfig_default_name.py | 14 |
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') + ), + ] |