feat(repo): IaaS baseline
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"python.useEnvironmentsExtension": false,
|
||||
"ansible.lightspeed.enabled": false,
|
||||
"ansible.lightspeed.suggestions.enabled": false,
|
||||
"ansible.validation.enabled": true,
|
||||
"ansible.validation.lint.enabled": true,
|
||||
"files.associations": {
|
||||
"**/ansible/**/*.yaml": "ansible",
|
||||
"*.container*": "ini",
|
||||
"*.service*": "ini",
|
||||
"*.timer*": "ini",
|
||||
"*containerfile*": "dockerfile",
|
||||
"*.link*": "ini",
|
||||
"*.netdev*": "ini",
|
||||
"*.network*": "ini",
|
||||
"*.xml*": "xml",
|
||||
"named.conf*": "cpp",
|
||||
"*.conf*": "ini",
|
||||
"*.toml": "ini",
|
||||
"*.json.*": "json",
|
||||
"*.alloy.*": "cpp"
|
||||
},
|
||||
"ansible.python.interpreterPath": "/bin/python3",
|
||||
"yaml.customTags": [
|
||||
"!vault scalar"
|
||||
],
|
||||
"workbench.hover.delay": 9999999,
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=code-server user service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/code-server \
|
||||
--auth none \
|
||||
--bind-addr 127.0.0.1:2080 \
|
||||
%h/workspace
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Keep Distro Alive
|
||||
|
||||
[Service]
|
||||
ExecStart=/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe -WindowStyle Hidden -NonInteractive -NoProfile -Command "while ($true) { Start-Sleep -Seconds 3600 }"
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user