mirror of https://github.com/tteck/Proxmox.git
Compare commits
8 Commits
014b2dab55
...
ddd0a9ab4d
Author | SHA1 | Date |
---|---|---|
|
ddd0a9ab4d | |
|
0e8144e960 | |
|
d3a3c72335 | |
|
04a0a412c4 | |
|
946114f59e | |
|
778c58f49e | |
|
c95f5dec17 | |
|
c870b93810 |
17
README.md
17
README.md
|
@ -1,7 +1,16 @@
|
|||
<h3><p align="center"><a href="https://github.com/tteck/Proxmox/blob/main/.github/CONTRIBUTING.md">Contributing to Proxmox VE Helper Scripts</a></p></h3>
|
||||
<h1 align="center">Proxmox VE Helper Scripts</h1>
|
||||
|
||||
<sub>These scripts empower users to create a Linux container or virtual machine interactively, providing choices for both simple and advanced configurations. The basic setup adheres to default settings, while the advanced setup gives users the ability to customize these defaults. Utilizing the whiptail command, options are displayed to users in a dialog box format. Once the user makes their selections, the script collects and validates their input to generate the final configuration for the container or virtual machine.</sub>
|
||||
<p align="center">
|
||||
<a href="https://helper-scripts.com/">Visit the project website</a> |
|
||||
<a href="https://github.com/tteck/Proxmox/blob/main/.github/CONTRIBUTING.md">Contribute to Helper Scripts</a>
|
||||
</p>
|
||||
|
||||
<h1><p align="center"><a href="https://tteck.github.io/Proxmox/">Proxmox VE Helper Scripts</a></p></h1>
|
||||
<sub><p align="center"><a href="https://github.com/tteck/Proxmox/blob/main/CODE-AUDIT.md">Exercise caution and conduct a comprehensive assessment of scripts and automation tasks acquired from external sources.</a></p></sub>
|
||||
---
|
||||
|
||||
These scripts empower users to create a Linux container or virtual machine interactively, providing choices for both simple and advanced configurations. The basic setup adheres to default settings, while the advanced setup gives users the ability to customize these defaults.
|
||||
|
||||
Utilizing the whiptail command, options are displayed to users in a dialog box format. Once the user makes their selections, the script collects and validates their input to generate the final configuration for the container or virtual machine.
|
||||
<p align="center">
|
||||
Be cautious and thoroughly evaluate scripts and automation tasks obtained from external sources. <a href="https://github.com/tteck/Proxmox/blob/main/CODE-AUDIT.md">Read more</a>
|
||||
</p>
|
||||
<sub><div align="center"> Proxmox® is a registered trademark of Proxmox Server Solutions GmbH. </div></sub>
|
||||
|
|
|
@ -53,7 +53,21 @@ function default_settings() {
|
|||
function update_script() {
|
||||
header_info
|
||||
if [[ ! -d /opt/linkwarden ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||
msg_error "There is currently no update path available."
|
||||
msg_info "Updating $APP"
|
||||
systemctl stop linkwarden
|
||||
cd /opt/linkwarden
|
||||
if git pull | grep -q 'Already up to date'; then
|
||||
msg_ok "Already up to date"
|
||||
systemctl start linkwarden
|
||||
exit
|
||||
fi
|
||||
git pull
|
||||
yarn
|
||||
npx playwright install-deps
|
||||
yarn build
|
||||
yarn prisma migrate deploy
|
||||
systemctl start linkwarden
|
||||
msg_ok "Updated $APP"
|
||||
exit
|
||||
}
|
||||
|
||||
|
|
|
@ -408,7 +408,7 @@ qm importdisk $VMID ${FILE} $STORAGE ${DISK_IMPORT:-} 1>&/dev/null
|
|||
qm set $VMID \
|
||||
-efidisk0 ${DISK0_REF}${FORMAT} \
|
||||
-scsi0 ${DISK1_REF},${DISK_CACHE}${THIN}size=2G \
|
||||
-ide2 local-lvm:cloudinit \
|
||||
-ide2 ${STORAGE}:cloudinit \
|
||||
-boot order=scsi0 \
|
||||
-serial0 socket \
|
||||
-description "# Ubuntu 22.04 VM
|
||||
|
|
Loading…
Reference in New Issue