forked from forkanization/Proxmox-arm64
Port Ubuntu 2404 VM to ARM64
Needs testing.
This commit is contained in:
@@ -45,6 +45,7 @@ If you would like to offer support, I would appreciate a star on the repository,
|
|||||||
| Home Assistant OS | ❌ | Use Pimox HAOS VM script. |
|
| Home Assistant OS | ❌ | Use Pimox HAOS VM script. |
|
||||||
| Pimox HAOS | ⭕ | Very likely to work, but haven't tested. |
|
| Pimox HAOS | ⭕ | Very likely to work, but haven't tested. |
|
||||||
| Ubuntu 22.04 | ⭕ | Needs testing. |
|
| Ubuntu 22.04 | ⭕ | Needs testing. |
|
||||||
|
| Ubuntu 24.04 | ⭕ | Needs testing. |
|
||||||
|
|
||||||
## LXC Compatibility Guide
|
## LXC Compatibility Guide
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,10 @@
|
|||||||
"status": "untested",
|
"status": "untested",
|
||||||
"notes": "Needs testing."
|
"notes": "Needs testing."
|
||||||
},
|
},
|
||||||
|
"Ubuntu 24.04 VM": {
|
||||||
|
"status": "untested",
|
||||||
|
"notes": "Needs testing."
|
||||||
|
},
|
||||||
"Actual Budget LXC": {
|
"Actual Budget LXC": {
|
||||||
"status": "created",
|
"status": "created",
|
||||||
"notes": ""
|
"notes": ""
|
||||||
|
|||||||
+3
-13
@@ -101,15 +101,6 @@ function pve_check() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function arch_check() {
|
|
||||||
if [ "$(dpkg --print-architecture)" != "amd64" ]; then
|
|
||||||
msg_error "This script will not work with PiMox! \n"
|
|
||||||
echo -e "Exiting..."
|
|
||||||
sleep 2
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
function ssh_check() {
|
function ssh_check() {
|
||||||
if command -v pveversion >/dev/null 2>&1; then
|
if command -v pveversion >/dev/null 2>&1; then
|
||||||
if [ -n "${SSH_CLIENT:+x}" ]; then
|
if [ -n "${SSH_CLIENT:+x}" ]; then
|
||||||
@@ -336,7 +327,6 @@ function start_script() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
check_root
|
check_root
|
||||||
arch_check
|
|
||||||
pve_check
|
pve_check
|
||||||
ssh_check
|
ssh_check
|
||||||
start_script
|
start_script
|
||||||
@@ -370,7 +360,7 @@ fi
|
|||||||
msg_ok "Using ${CL}${BL}$STORAGE${CL} ${GN}for Storage Location."
|
msg_ok "Using ${CL}${BL}$STORAGE${CL} ${GN}for Storage Location."
|
||||||
msg_ok "Virtual Machine ID is ${CL}${BL}$VMID${CL}."
|
msg_ok "Virtual Machine ID is ${CL}${BL}$VMID${CL}."
|
||||||
msg_info "Retrieving the URL for the Ubuntu 24.04 Disk Image"
|
msg_info "Retrieving the URL for the Ubuntu 24.04 Disk Image"
|
||||||
URL=https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img
|
URL=https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-arm64.img
|
||||||
sleep 2
|
sleep 2
|
||||||
msg_ok "${CL}${BL}${URL}${CL}"
|
msg_ok "${CL}${BL}${URL}${CL}"
|
||||||
wget -q --show-progress $URL
|
wget -q --show-progress $URL
|
||||||
@@ -411,11 +401,11 @@ qm set $VMID \
|
|||||||
-ide2 ${STORAGE}:cloudinit \
|
-ide2 ${STORAGE}:cloudinit \
|
||||||
-boot order=scsi0 \
|
-boot order=scsi0 \
|
||||||
-serial0 socket \
|
-serial0 socket \
|
||||||
-description "<div align='center'><a href='https://Helper-Scripts.com'><img src='https://raw.githubusercontent.com/tteck/Proxmox/main/misc/images/logo-81x112.png'/></a>
|
-description "<div align='center'><a href='https://pimox-scripts.com'><img src='https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/images/logo-81x112.png'/></a>
|
||||||
|
|
||||||
# Ubuntu 24.04 VM
|
# Ubuntu 24.04 VM
|
||||||
|
|
||||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-blue' /></a>
|
<a href='https://ko-fi.com/proxmoxhelperscripts'><img src='https://img.shields.io/badge/☕-Buy me a coffee-blue' /></a>
|
||||||
</div>" >/dev/null
|
</div>" >/dev/null
|
||||||
msg_ok "Created a Ubuntu 24.04 VM ${CL}${BL}(${HN})"
|
msg_ok "Created a Ubuntu 24.04 VM ${CL}${BL}(${HN})"
|
||||||
if [ "$START_VM" == "yes" ]; then
|
if [ "$START_VM" == "yes" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user