Commit Graph

9144 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
ec875e6e62 Run app install live during image build
Change VM app deployer to run CT install scripts during image customization (virt-customize --run) instead of via a first-boot systemd service. Updated docs to reflect live installation, new update workflow (curl the ct/<app>.sh inside the VM), and new troubleshooting/reinstall guidance. misc/vm-app.func now injects function libs, runs a temporary wrapper inside virt-customize (with logging and error handling), removes the first-boot service and update wrapper injection, and updates summary/status messages to mark apps as pre-installed.
2026-03-12 09:43:43 +01:00
CanbiZ (MickLesk)
be8e4483fc Update vm-app.func 2026-03-12 09:22:12 +01:00
CanbiZ (MickLesk)
37e53c19ec force gitea sync 2026-03-12 09:18:29 +01:00
CanbiZ (MickLesk)
19cc18037c vm app-deployer 2026-03-12 09:06:41 +01:00
CanbiZ (MickLesk)
e581096d53 Merge pull request #1557 from dereckhall/fix/unifi-os-server-vm
Fix and improve UniFi OS Server VM script
2026-03-12 07:24:52 +01:00
Dereck
7a211fd407 Address third CodeRabbit review feedback
- Remove unused send_line_to_vm function (replaced by virt-customize)
- Quote $VMID and add guard in cleanup_vmid
- Guard cleanup() against unset TEMP_DIR and quote variable
2026-03-12 00:54:39 -04:00
Dereck
1db68f32b5 Address second CodeRabbit review feedback
- Quote $VMID in error_handler for robustness
- Reduce port 11443 wait loop from 15min to 5min and update message
2026-03-12 00:45:49 -04:00
Dereck
3da60ba0a2 Address CodeRabbit review feedback
- Remove unused CLOUDINIT_PASSWORD variable
- Separate local declaration from assignment in get_image_url()
- Add retry loop for apt-get install (matches apt-get update pattern)
- Fix timeout message to match actual loop duration (~5-6 min)
2026-03-12 00:30:01 -04:00
Dereck
afa4e4ef07 Fix and improve UniFi OS Server VM script
Bug fixes:
- Add ~20 missing fi statements throughout advanced_settings(), check_root(),
  arch_check(), ssh_check(), select_os(), start_script(), etc.
- Fix pve_check() missing elif/else/fi structure
- Fix DISK_SIZE unbound variable, initialized before machine type dialog
- Fix error_handler() with ${VMID:-} guard to prevent unbound variable error

Architecture improvement:
- Migrate from send_line_to_vm serial console approach to virt-customize with
  a first-boot systemd service, consistent with other VM scripts
- First-boot service handles: clock sync (NTP + HTTP fallback), package
  installation, swap setup, and UniFi OS installer execution

New features:
- Root password prompt with confirmation
- SSH public key support
- SSH enabled by default
- Cloud-init password override with user-set password
- Port 11443 readiness check after VM boot
- Elapsed time counter during wait loops
2026-03-12 00:22:10 -04:00
Michel Roegl-Brunner
91572c9c8c Test workflow 2026-03-11 15:32:00 +01:00
Michel Roegl-Brunner
c9a2bf916c Test workflow 2026-03-11 15:31:10 +01:00
Michel Roegl-Brunner
262a3a72f4 Test workflow 2026-03-11 15:29:54 +01:00
Michel Roegl-Brunner
2a79253118 Test 2026-03-11 14:12:59 +01:00
Michel Roegl-Brunner
5a273d91ed Delete frontend/public/json/test.json 2026-03-11 14:09:20 +01:00
Michel Roegl-Brunner
36e5863726 test workflow 2026-03-11 14:04:59 +01:00
Michel Roegl-Brunner
909f37ab7a Append workflow 2026-03-11 14:04:26 +01:00
CanbiZ (MickLesk)
66013146ab Update build target, add /gluetun link & env
Switch the Go build invocation to target the cmd/gluetun package directory (./cmd/gluetun/) in both ct/gluetun.sh and install/gluetun-install.sh, and ensure modules are downloaded during install (go mod download). In the installer, create /opt/gluetun-data and add a symlink /gluetun -> /opt/gluetun-data, update STORAGE/PUBLICIP/PORT file paths to use /gluetun, add PPROF_ENABLED=no to the default .env, and add UnsetEnvironment=USER to the systemd unit to avoid inheriting the USER environment. These changes standardize build behavior and relocate runtime data to a consistent /gluetun path.
2026-03-11 11:44:26 +01:00
Tobias
0c2dccba2d Update pull_request_template.md 2026-03-11 10:00:28 +01:00
Michel Roegl-Brunner
aadeab7568 Add GitHub Pages redirect workflow 2026-03-11 08:41:08 +01:00
Michel Roegl-Brunner
0f2eaa664c Merge pull request #1516 from steveonjava/submit/protonmail-bridge-proxmoxved
feat: add Proton Mail Bridge
2026-03-11 08:30:02 +01:00
Tobias
69be85f81b Update unmet-pr-close.yml 2026-03-10 22:14:45 +01:00
Tobias
597cb21870 Create unmet-pr-close.yml 2026-03-10 22:12:37 +01:00
MickLesk
c18000e1fa switch route 2026-03-10 19:01:49 +01:00
MickLesk
ad8a5ccd60 harmonize package-lock shit 2026-03-10 18:57:46 +01:00
MickLesk
8d92578756 add gluetun 2026-03-10 18:48:35 +01:00
MickLesk
6c2aafab12 fix validation 2026-03-10 18:47:02 +01:00
MickLesk
8c3f67536b add versitygw 2026-03-10 18:35:57 +01:00
Michel Roegl-Brunner
195c064c71 Add workflow to update script timestamps on .sh changes
This workflow updates the timestamps of scripts in PocketBase whenever .sh files are changed in specified directories.
2026-03-10 15:49:54 +01:00
Michel Roegl-Brunner
5aa9cfe213 Install git and GitHub CLI dependencies
Added installation of git and GitHub CLI as dependencies.
2026-03-10 15:43:26 +01:00
Tobias
c65429f2f8 fix: correcting file write 2026-03-10 10:06:10 +01:00
Stephen Chin
fc6cf2b11e Fixed heredoc syntax 2026-03-10 01:40:55 -07:00
vhsdream
c6cf0d92c2 add git 2026-03-09 15:18:26 -04:00
vhsdream
b73bb2cdb0 add build-essential 2026-03-09 15:13:13 -04:00
vhsdream
237897342c fix dep 2026-03-09 14:59:45 -04:00
vhsdream
6c3d5797dd Add Invidious 2026-03-09 14:44:31 -04:00
Stephen Chin
320886faad Fixed EOFs to match style guidelines 2026-03-09 02:03:07 -07:00
Stephen Chin
e488a16077 Apply suggestion from @CrazyWolf13
Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
2026-03-09 02:01:01 -07:00
Stephen Chin
5d17a0baa6 Removed comment 2026-03-09 02:00:16 -07:00
Stephen Chin
8aee8f0af7 Fixes for review comments. 2026-03-09 01:08:53 -07:00
Stephen Chin
f7efc94f34 Improved display of message 2026-03-09 00:43:38 -07:00
Stephen Chin
a7f7d961fb Added missing .socket postfixes 2026-03-08 23:09:07 -07:00
Stephen Chin
5b496a28d2 Removed extraneous .service postfixes and improved messages. 2026-03-08 23:08:32 -07:00
Stephen Chin
fb687c5d22 Use protonmailbridge-configure for both initialization and later configuration. 2026-03-08 18:30:30 -07:00
Stephen Chin
46e0107392 Use protonmailbridge-configure for both initialization and later configuration. 2026-03-08 18:29:29 -07:00
Stephen Chin
70344e5f8f Use protonmailbridge-configure for both initialization and later configuration. 2026-03-08 18:28:35 -07:00
vhsdream
3d7322bf72 OxiCloud: add RUSTFLAGS 2026-03-08 20:59:24 -04:00
Stephen Chin
0bed845d6d Fixed the update script to leave services in the same state they were before it was called. 2026-03-08 17:36:45 -07:00
Stephen Chin
54ba42afce Converted to heredoc style 2026-03-08 15:47:41 -07:00
Stephen Chin
bed6361769 Updated the end of install messages to be more consistent. 2026-03-08 15:21:45 -07:00
Stephen Chin
1e32c49bf0 Added exit code value 2026-03-08 15:02:58 -07:00