Commit Graph

85 Commits

Author SHA1 Message Date
Aaron Mason bf73d13ffe
Update setup
Allow the end user to delay reboot but make it clear that a reboot is necessary
2025-10-28 09:51:51 +11:00
jaminmc 064e032b82 Auto generate new Serial numbers!
Now everyone won't be sharing the same serial!

On fresh install, It will prompt if you want to generate a new serial. If you have an install already, and you select "205 - Customize OpenCore config.plist" you will have an option to generate a new serial.

I created a CLI for GenSMBIOS, which generated all the serial numbers and stuff so that iMessage should work. For now it is pulling from my branch. That is until the pull request is accepted by corpnewt.

The Serial generation prompts for System Product Name, and has a default. The user can change it if they want. IE for MacOS 26, they may want to use MacPro7,1. I have not tested that though.
2025-07-23 09:56:02 -04:00
jaminmc 65d027b7f4 Updated NoNag for PVE 8.4.5+, and improved logging
Proxmox changed their Nag screen code in 8.4.5, so the fix changed.  The fix is from 0f3b95b3ff

Added a main.log that logs everything, and it still logs specific sections. display_and_log replaces the echo command for most things.
2025-07-22 17:19:32 -04:00
jaminmc 578e77f0d0
Fix init_dirs before loging, and preliminary Proxmox 9 Beta support
There was an error where the log dir wasn't created before the script would write to a log, so the script would fail if the folder was missing.

I enabled preliminary Proxmox 9 Beta support. Install works for me, and all the functions seem to work. Installing pve-no-subscription repo will give warnings in apt update, as Proxmox doesn't have trixie packages in there but is using the pve-testing repo instead.
2025-07-19 02:51:52 -04:00
jaminmc f0baf4a6ac Added Storage selection for ISO is there are more than 1 avalible.
This was inspired by df228d4cbd

That fix would have broken my system that uses local-zfs for virtual machines.

My fix has a function simular to the one that detects virtual machine storage, and if there is more than one for ISO's, it will prompt for the one to use.
2025-07-16 01:11:05 -04:00
jaminmc 8c72476379 Refactored the code to make it more maintainable.
- Redid the code for the cloud to be able to specify subnets, with the default based on bridge number. It now adds a bridge every time you run it.

- The creating if the VM now prompts you for a bridge to select if there is more than one, and prompts you to select storage if there is more than 1

- The No Subcriber nag removal will now last through Proxmox updates
2025-06-27 23:48:14 -04:00
Gabriel Luchina c4b8ec7386 Fix Typo in setup 2025-05-02 10:20:26 -03:00
Gabriel Luchina 061ef187a3
Merge pull request #47 from S33G/patch-1 [Gb -> GB]
Gb -> GB
2025-05-02 10:17:10 -03:00
Gabriel Luchina 284dc22bb0 Increse size of opencore-osx-proxmox-vm.iso and added SysReport of PVE 8.4 2025-04-24 10:05:11 -03:00
Gabriel Luchina bf88dbda05 Partial support for PVE 8.4 2025-04-23 16:51:34 -03:00
Gabriel Luchina fe65a19342 Initial support to PVE 8.4 2025-04-23 16:36:53 -03:00
Gabriel Luchina b4a65cb259 Added macOS Prints, update cosmetic in setup binary and cleaning files 2025-04-22 23:52:55 -03:00
Gabriel Luchina 8ecb4e635c Upgrade to OC 1.0.4 and PVE 8.3 Support (PVE 8.4 don't supported yet) 2025-04-22 16:14:23 -03:00
seeg 3dc5cc19ac
Gb -> GB 2025-04-09 00:59:30 +01:00
DaBoiCJ 729c8d003a
Add same fix to setup 2024-12-16 09:06:08 -08:00
Gabriel Luchina 7ca3dc8144
Merge pull request #43 from NetManDE/main
Add Parameter -x to fallocate
2024-11-11 11:21:12 -03:00
NetManDE ee4bb6378c
Add Parameter -x to fallocate
Fix Error "fallocate fallocate failed operation not supported" when allocating space for the ISO file.
Occured on latest proxmox with bookworm
2024-11-11 10:09:14 +01:00
Vitaly Petrov fe60e968e4 Sonoma try another recovery code 2024-11-10 09:32:20 +01:00
Gabriel Luchina af9dd31185 Fix size of recovery images 2024-11-04 19:59:44 -03:00
Vitaly cd7df20dc8
Sonoma recovery download fix (800M -> 1450M) 2024-11-04 15:47:48 +01:00
TheLEEC e1cac8349c
Fix spelling of Sequoia ISO 2024-10-28 18:47:19 +01:00
Gabriel Luchina d14a6ca5c6 Fix PVE/OC image 2024-10-25 10:37:39 -03:00
Danny Bastos 26b580c94b updated EFI to oc 1.0.2
added support to macos sequoia
2024-10-24 16:31:42 -03:00
Jiří Janata 2f9cc3676f
Update setup to support Proxmox 8.2 2024-04-28 20:45:17 +02:00
Jiří Janata 771432298d
Correct adding no subscription repository
Correction of if commands.
2024-04-28 11:49:15 +02:00
Mikhail Khadarenka be1e6d3e3d For VMs on Sonoma 14.4+ the fix is to change the USB devices to XHCI and disable/remove EHCI 2024-04-02 18:25:43 +02:00
Gabriel 160c5b60cc Upgrade to Opencore 0.9.9 2024-03-13 11:53:48 -03:00
Gabriel f31600002e Upgrate to Opencore 0.9.7 2023-12-12 19:05:48 -03:00
Gabriel 33215d5227 Added compatibility to PVE 8.1 2023-11-27 15:05:40 -03:00
Gabriel 14f248a926 Upgrade to Opencore 0.9.6 2023-11-27 15:02:51 -03:00
Gabriel 209b97d076 Added macOS Sonoma support 2023-09-27 17:46:35 -03:00
Gabriel 8f350cba27 Upgrade to Opencore 0.9.5 - September/2023 2023-09-11 14:17:50 -03:00
Gabriel e5cc7ff0f4 Upgrade to Opencore 0.9.4 2023-08-10 18:50:45 -03:00
Dhruv Bhavsar c573442b6f
Add kvm amd support
When starting any machine on AMD processor after running this script it errors with following error `TASK ERROR: KVM virtualisation configured, but not available. Either disable in VM configuration or enable in BIOS.`

After adding this line install works as expected on AMD machines
2023-07-24 14:02:19 -04:00
Gabriel 9d2f5096fd Update for CREATE VM of macOS Sonoma 2023-07-06 16:53:47 -03:00
Gabriel eff19e612c Added support to PVE 8 2023-07-06 14:13:47 -03:00
Thomas Makin 8506cdc41e add proxmox v8 support 2023-06-29 21:46:57 -04:00
Gabriel 0b55f355d1 Upgrade to Opencore 0.9.3 2023-06-15 18:35:16 -03:00
Gabriel 2384b38e5d Fix for compatibility PVE version 7.4 2023-05-11 12:17:26 -03:00
Gabriel 73470867d8 Upgrade to Opencore 0.9.2 2023-05-08 14:05:59 -03:00
Gabriel 7664d5bf0b Upgrade do Opencore 0.9.1 - April/2023 2023-04-04 11:38:18 -03:00
Gabriel 6930861bb5 Upgrade to Opencore 0.9.0 [March/2023] 2023-03-06 15:32:59 -03:00
Gabriel 0a9f96c9d2 Upgrade to Opencore 0.8.9 2023-02-14 10:52:25 -03:00
Gabriel Luchina e7d5d1b6b6
Merge pull request #28 from hugueslarrive/main
- A small optimization for creating recovery images
- A bug fix when using the script with running LXC containers
- And the addition of features for customizing Opencore's configuration (Option 205 in osx-setup menu)
2023-02-06 14:05:59 -03:00
Gabriel c67c38f212 Fix ERROR in recovery boot 2023-02-04 11:07:11 -03:00
Gabriel c13fe8ea02 Upgrade to Opencore 0.8.8 - Sorry for late update 2023-02-04 02:08:05 -03:00
Hugues Larrive afe4a039b6 Add Opencore config.plist customization feature 2023-01-26 00:41:59 +01:00
Hugues Larrive 3093ae561c Fix conflicts when loop0 is used by an LXC container 2023-01-25 11:33:17 +01:00
Hugues Larrive 63ea33e9f9 Use fallocate instead of dd for better performances 2023-01-25 11:02:11 +01:00
Gabriel 42eb0b4c5f Fix QEMU Version for compatibility with PVE 7.3 2022-12-12 18:53:25 -03:00