Update unifi-os-server-vm.sh
This commit is contained in:
parent
b7756b7af9
commit
7b2c9bf770
@ -630,7 +630,9 @@ runcmd:
|
|||||||
final_message: "UniFi OS Server installation complete!"
|
final_message: "UniFi OS Server installation complete!"
|
||||||
EOFUSERDATA
|
EOFUSERDATA
|
||||||
|
|
||||||
msg_ok "Created Cloud-Init configuration for UniFi OS installation"# Expand root partition to use full disk space
|
msg_ok "Created Cloud-Init configuration for UniFi OS installation"
|
||||||
|
|
||||||
|
# Expand root partition to use full disk space
|
||||||
msg_info "Expanding disk image to ${DISK_SIZE}"
|
msg_info "Expanding disk image to ${DISK_SIZE}"
|
||||||
qemu-img create -f qcow2 expanded.qcow2 ${DISK_SIZE} >/dev/null 2>&1
|
qemu-img create -f qcow2 expanded.qcow2 ${DISK_SIZE} >/dev/null 2>&1
|
||||||
|
|
||||||
@ -689,7 +691,9 @@ if [ -n "$CLOUDINIT_CRED_FILE" ] && [ -f "$CLOUDINIT_CRED_FILE" ]; then
|
|||||||
echo -e "${TAB}${RD}⚠️ Installation starts automatically on first boot${CL}"
|
echo -e "${TAB}${RD}⚠️ Installation starts automatically on first boot${CL}"
|
||||||
echo -e "${TAB}${INFO}Monitor: ${BL}tail -f /var/log/cloud-init-output.log${CL}"
|
echo -e "${TAB}${INFO}Monitor: ${BL}tail -f /var/log/cloud-init-output.log${CL}"
|
||||||
echo ""
|
echo ""
|
||||||
fiDESCRIPTION=$(
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION=$(
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
<div align='center'>
|
<div align='center'>
|
||||||
<a href='https://Helper-Scripts.com' target='_blank' rel='noopener noreferrer'>
|
<a href='https://Helper-Scripts.com' target='_blank' rel='noopener noreferrer'>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user