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
bb9a102fd9
commit
cb01cdf219
3 changed files with 6 additions and 6 deletions
|
|
@ -37,9 +37,9 @@ in
|
|||
};
|
||||
interface = {
|
||||
id = "vm-${name}";
|
||||
mac = "03:00:00:00:00:53";
|
||||
mac = "02:00:00:00:00:53";
|
||||
idUser = "vmuser-${name}";
|
||||
macUser = "04:00:00:00:00:05";
|
||||
macUser = "02:00:00:00:00:05";
|
||||
ip = "192.168.50.153";
|
||||
gate = "192.168.50.1";
|
||||
ssh = 2205;
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ in
|
|||
HTTP_PORT = serviceCfg.ports.port0;
|
||||
};
|
||||
# If you need to start from scratch, don't forget to turn this off again
|
||||
service.DISABLE_REGISTRATION = false;
|
||||
service.DISABLE_REGISTRATION = true;
|
||||
actions = {
|
||||
ENABLED = true;
|
||||
DEFAULT_ACTIONS_URL = "github";
|
||||
|
|
@ -105,7 +105,7 @@ in
|
|||
addresses = [ { Address = "${serviceCfg.interface.ip}/24"; } ];
|
||||
routes = [
|
||||
{
|
||||
Destination = "${hostCfg.localhost.address1}/0";
|
||||
Destination = "0.0.0.0/0";
|
||||
Gateway = serviceCfg.interface.gate;
|
||||
}
|
||||
];
|
||||
|
|
|
|||
|
|
@ -68,8 +68,8 @@ in
|
|||
};
|
||||
|
||||
microvm = {
|
||||
vcpu = 4;
|
||||
mem = 4096;
|
||||
vcpu = 6;
|
||||
mem = 8192;
|
||||
hypervisor = "qemu";
|
||||
interfaces = [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue