This commit is contained in:
Holger Sielaff
2025-08-27 09:55:55 +02:00
commit 90c0ff61ed
107 changed files with 8535 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
# Generated by Django 5.2.4 on 2025-07-09 06:31
import manager.models
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('manager', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='clonecontainer',
name='hostname',
field=models.CharField(default=0, help_text='Will be used as hostname', max_length=150),
preserve_default=False,
),
migrations.AlterField(
model_name='clonecontainer',
name='as_regexp',
field=models.BooleanField(choices=[(False, 'No'), (True, 'Yes')], default=True, help_text='Add a ".*<hostname>.replace(".",r"\\.")$" instead of a hostname'),
),
migrations.AlterField(
model_name='clonecontainer',
name='cpus',
field=models.IntegerField(default=1, validators=[manager.models.MinValueValidatorExtended(1), manager.models.MaxValueValidatorExtended(8)]),
),
migrations.AlterField(
model_name='clonecontainer',
name='disksize',
field=models.IntegerField(default=10, help_text='in GB', validators=[manager.models.MinValueValidatorExtended(10), manager.models.MaxValueValidatorExtended(100)]),
),
migrations.AlterField(
model_name='clonecontainer',
name='memory',
field=models.IntegerField(default=1024, help_text='in MB', validators=[manager.models.MinValueValidatorExtended(256), manager.models.MaxValueValidatorExtended(8192)]),
),
]