@underpostnet/underpost 2.95.8 → 2.96.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/baremetal/commission-workflows.json +44 -0
- package/baremetal/packer-workflows.json +13 -0
- package/cli.md +28 -31
- package/manifests/deployment/dd-default-development/deployment.yaml +2 -2
- package/manifests/deployment/dd-test-development/deployment.yaml +2 -2
- package/package.json +1 -1
- package/packer/images/Rocky9Amd64/Makefile +62 -0
- package/packer/images/Rocky9Amd64/QUICKSTART.md +113 -0
- package/packer/images/Rocky9Amd64/README.md +122 -0
- package/packer/images/Rocky9Amd64/http/rocky9.ks.pkrtpl.hcl +114 -0
- package/packer/images/Rocky9Amd64/rocky9.pkr.hcl +160 -0
- package/packer/scripts/fuse-nbd +64 -0
- package/packer/scripts/fuse-tar-root +63 -0
- package/scripts/maas-setup.sh +13 -2
- package/scripts/maas-upload-boot-resource.sh +183 -0
- package/scripts/packer-init-vars-file.sh +30 -0
- package/scripts/packer-setup.sh +52 -0
- package/src/cli/baremetal.js +243 -55
- package/src/cli/cloud-init.js +1 -1
- package/src/cli/env.js +24 -3
- package/src/cli/index.js +15 -0
- package/src/cli/repository.js +164 -0
- package/src/index.js +1 -1
- package/src/client/ssr/pages/404.js +0 -12
- package/src/client/ssr/pages/500.js +0 -12
- package/src/client/ssr/pages/maintenance.js +0 -14
- package/src/client/ssr/pages/offline.js +0 -21
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { e404 } from '../common/Alert.js';
|
|
2
|
-
import { append } from '../common/SsrCore.js';
|
|
3
|
-
import { Translate } from '../common/Translate.js';
|
|
4
|
-
import { Worker } from '../common/Worker.js';
|
|
5
|
-
/*imports*/
|
|
6
|
-
|
|
7
|
-
window.onload = () =>
|
|
8
|
-
Worker.instance({
|
|
9
|
-
render: async () => {
|
|
10
|
-
append('.page-render', await e404({ Translate }));
|
|
11
|
-
},
|
|
12
|
-
});
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { e500 } from '../common/Alert.js';
|
|
2
|
-
import { append } from '../common/SsrCore.js';
|
|
3
|
-
import { Translate } from '../common/Translate.js';
|
|
4
|
-
import { Worker } from '../common/Worker.js';
|
|
5
|
-
/*imports*/
|
|
6
|
-
|
|
7
|
-
window.onload = () =>
|
|
8
|
-
Worker.instance({
|
|
9
|
-
render: async () => {
|
|
10
|
-
append('.page-render', await e500({ Translate }));
|
|
11
|
-
},
|
|
12
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { htmls, loggerFactory } from '../common/SsrCore.js';
|
|
2
|
-
import { Alert } from '../common/Alert.js';
|
|
3
|
-
import { Translate } from '../common/Translate.js';
|
|
4
|
-
import { Worker } from '../common/Worker.js';
|
|
5
|
-
/*imports*/
|
|
6
|
-
|
|
7
|
-
const logger = loggerFactory({ url: location.toString() });
|
|
8
|
-
|
|
9
|
-
window.onload = () =>
|
|
10
|
-
Worker.instance({
|
|
11
|
-
render: async () => {
|
|
12
|
-
htmls(`.page-render`, html`${await Alert.maintenance({ Translate })}`);
|
|
13
|
-
},
|
|
14
|
-
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { htmls, loggerFactory } from '../common/SsrCore.js';
|
|
2
|
-
import { Alert } from '../common/Alert.js';
|
|
3
|
-
import { Translate } from '../common/Translate.js';
|
|
4
|
-
import { Worker } from '../common/Worker.js';
|
|
5
|
-
/*imports*/
|
|
6
|
-
|
|
7
|
-
const logger = loggerFactory({ url: location.toString() });
|
|
8
|
-
|
|
9
|
-
window.onload = () =>
|
|
10
|
-
Worker.instance({
|
|
11
|
-
render: async () => {
|
|
12
|
-
window.ononline = async () => {
|
|
13
|
-
location.href = location.pathname.split('/')[1] ? `/${location.pathname.split('/')[1].split('.')[0]}` : '/';
|
|
14
|
-
};
|
|
15
|
-
window.onoffline = async () => {
|
|
16
|
-
htmls(`.page-render`, html`${await Alert.noInternet({ Translate })}`);
|
|
17
|
-
};
|
|
18
|
-
if (navigator.onLine && !location.hostname.match('localhost')) window.ononline();
|
|
19
|
-
else window.onoffline();
|
|
20
|
-
},
|
|
21
|
-
});
|