mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 04:06:54 +00:00
Update uupdump_creator.sh
This commit is contained in:
parent
daa57c39f3
commit
abe6e9530a
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# ==========================================================
|
# ==========================================================
|
||||||
# ProxMenuX - Virtual Machine Creator Script
|
# ProxMenux - UUP Dump ISO Creator
|
||||||
# ==========================================================
|
# ==========================================================
|
||||||
# Author : MacRimi
|
# Author : MacRimi
|
||||||
# Copyright : (c) 2024 MacRimi
|
# Copyright : (c) 2024 MacRimi
|
||||||
@ -10,18 +10,19 @@
|
|||||||
# Last Updated: 07/05/2025
|
# Last Updated: 07/05/2025
|
||||||
# ==========================================================
|
# ==========================================================
|
||||||
# Description:
|
# Description:
|
||||||
# This script is part of the central ProxMenux VM creation module. It allows users
|
# This script is part of the ProxMenux tools for Proxmox VE.
|
||||||
# to create virtual machines (VMs) in Proxmox VE using either default or advanced
|
# It allows downloading and converting official Windows ISO images
|
||||||
# configurations, streamlining the deployment of Linux, Windows, and other systems.
|
# from UUP Dump using a shared link (with ID, pack, and edition).
|
||||||
#
|
#
|
||||||
# Key features:
|
# Key features:
|
||||||
# - Supports both virtual disk creation and physical disk passthrough.
|
# - Automatically installs and verifies required dependencies (aria2c, cabextract, wimlib-imagex…)
|
||||||
# - Automates CPU, RAM, BIOS, network and storage configuration.
|
# - Downloads the selected Windows edition from UUP Dump using aria2
|
||||||
# - Provides a user-friendly menu to select OS type, ISO image and disk interface.
|
# - Converts the downloaded files into a bootable ISO
|
||||||
# - Automatically generates a detailed and styled HTML description for each VM.
|
# - Stores the resulting ISO in the default template path (/var/lib/vz/template/iso)
|
||||||
|
# - Provides a graphical prompt via whiptail for user-friendly usage
|
||||||
#
|
#
|
||||||
# All operations are designed to simplify and accelerate VM creation in a
|
# This tool simplifies the creation of official Windows ISOs
|
||||||
# consistent and maintainable way, using ProxMenux standards.
|
# for use in virtual machines within Proxmox VE.
|
||||||
# ==========================================================
|
# ==========================================================
|
||||||
|
|
||||||
BASE_DIR="/usr/local/share/proxmenux"
|
BASE_DIR="/usr/local/share/proxmenux"
|
||||||
@ -35,12 +36,12 @@ fi
|
|||||||
load_language
|
load_language
|
||||||
initialize_cache
|
initialize_cache
|
||||||
|
|
||||||
function run_uupdump_creator() {
|
|
||||||
|
|
||||||
clear
|
clear
|
||||||
show_proxmenux_logo
|
show_proxmenux_logo
|
||||||
|
|
||||||
|
# ==========================================================
|
||||||
|
|
||||||
|
function run_uupdump_creator() {
|
||||||
|
|
||||||
|
|
||||||
local DEPS=(curl aria2 cabextract wimtools genisoimage chntpw)
|
local DEPS=(curl aria2 cabextract wimtools genisoimage chntpw)
|
||||||
@ -78,8 +79,6 @@ show_proxmenux_logo
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
TMP_DIR="/root/uup-temp"
|
TMP_DIR="/root/uup-temp"
|
||||||
OUT_DIR="/var/lib/vz/template/iso"
|
OUT_DIR="/var/lib/vz/template/iso"
|
||||||
CONVERTER="/root/uup-converter"
|
CONVERTER="/root/uup-converter"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user