mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-06 21:17:14 -06:00
test: forgejo microVM
This commit is contained in:
parent
6011a900de
commit
402f513a8d
4 changed files with 4 additions and 68 deletions
|
|
@ -274,14 +274,11 @@ in
|
|||
|
||||
instancesFunctions =
|
||||
let
|
||||
vm = "vm-";
|
||||
var = "/var/lib";
|
||||
in
|
||||
{
|
||||
domain0 = "cloudbert.fun";
|
||||
domain1 = "uprootnutrition.com";
|
||||
idPrefix = vm;
|
||||
userPrefix = "user${vm}";
|
||||
emailNoReply = "noreply";
|
||||
servicePath = "/mnt/media/NAS1";
|
||||
mntPath = "/mnt/storage";
|
||||
|
|
|
|||
|
|
@ -2,8 +2,6 @@
|
|||
let
|
||||
inherit (moduleFunctions.instancesFunctions)
|
||||
domain1
|
||||
idPrefix
|
||||
userPrefix
|
||||
varPath
|
||||
mntPath
|
||||
secretPath
|
||||
|
|
@ -38,9 +36,9 @@ in
|
|||
port0 = 3033;
|
||||
};
|
||||
interface = {
|
||||
id = "${idPrefix}${name}";
|
||||
id = "vm-${name}";
|
||||
mac = "02:00:00:00:00:50";
|
||||
idUser = "${userPrefix}${name}";
|
||||
idUser = "vm-${name}";
|
||||
macUser = "02:00:00:00:00:02";
|
||||
ip = "192.168.50.50";
|
||||
gate = "192.168.50.2";
|
||||
|
|
|
|||
|
|
@ -3,8 +3,6 @@ let
|
|||
inherit (moduleFunctions.instancesFunctions)
|
||||
domain0
|
||||
sslPath
|
||||
idPrefix
|
||||
userPrefix
|
||||
varPath
|
||||
mntPath
|
||||
secretPath
|
||||
|
|
@ -37,9 +35,9 @@ in
|
|||
port0 = 8085;
|
||||
};
|
||||
interface = {
|
||||
id = "${idPrefix}-${name}";
|
||||
id = "vm-${name}";
|
||||
mac = "02:00:00:00:00:51";
|
||||
idUser = "${userPrefix}-${name}";
|
||||
idUser = "vm-${name}";
|
||||
macUser = "02:00:00:00:00:03";
|
||||
ip = "192.168.50.51";
|
||||
gate = "192.168.50.1";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue