1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
/*
Copyright (C) 2024-2026 memdmp
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by Affero, Inc., at version 1.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Affero General Public License for more details.
You should have received a copy of the Affero General Public License along with this program. If not, see <https://spdx.org/licenses/AGPL-1.0-only>.
*/
export const architecture = 'x86_64';
export const versions = {
alpine: {
number: '3.23.2',
isEdge: false,
},
kernel: {
id: '6.18.5-0-lts',
humanReadable: 'Linux lts',
},
openrc: '0.55.1.ba16daf355',
busybox: '1.37.0',
};
export const tty = 'tty1';
export const hostname = 'estrogen.zone';
export const interfaces = {
// key: iface name
// value: time for it coming up, in millis
lo: 0,
eth0: Math.random() * 128 + 2,
};
if (versions.alpine.isEdge) {
versions.alpine.number += `_alpha${new Date().getUTCFullYear().toString() +
new Date().getUTCMonth().toString().padStart(2, '0') +
new Date().getUTCDate().toString().padStart(2, '0')
}`;
}
|