mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-08 08:49:17 +00:00
Ready to PR!
This commit is contained in:
parent
888f229914
commit
3d037445a7
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
source <(curl -s https://raw.githubusercontent.com/quantumryuu/ProxmoxVE/build/misc/build.func)
|
||||
source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
|
||||
# Copyright (c) 2021-2024 community-scripts ORG
|
||||
# Author: kristocopani
|
||||
# License: MIT
|
||||
|
@ -15,15 +15,17 @@ update_os
|
||||
|
||||
msg_info "Installing Dependencies"
|
||||
$STD apt-get install -y \
|
||||
curl \
|
||||
mc \
|
||||
git \
|
||||
gpg \
|
||||
sudo
|
||||
UBUNTU_CODENAME=jammy
|
||||
curl \
|
||||
mc \
|
||||
git \
|
||||
gpg \
|
||||
sudo
|
||||
|
||||
wget -qO- "https://keyserver.ubuntu.com/pks/lookup?fingerprint=on&op=get&search=0x6125E2A8C77F2818FB7BD15B93C4A3FD7BB9C367" | gpg --dearmour >/usr/share/keyrings/ansible-archive-keyring.gpg
|
||||
$STD echo "deb [signed-by=/usr/share/keyrings/ansible-archive-keyring.gpg] http://ppa.launchpad.net/ansible/ansible/ubuntu $UBUNTU_CODENAME main" | tee /etc/apt/sources.list.d/ansible.list
|
||||
$STD apt update
|
||||
cat <<EOF >/etc/apt/sources.list.d/ansible.list
|
||||
deb [signed-by=/usr/share/keyrings/ansible-archive-keyring.gpg] http://ppa.launchpad.net/ansible/ansible/ubuntu jammy main
|
||||
EOF
|
||||
$STD apt update
|
||||
$STD apt install -y ansible
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
@ -32,7 +34,7 @@ RELEASE=$(curl -s https://api.github.com/repos/semaphoreui/semaphore/releases/la
|
||||
mkdir -p /opt/semaphore
|
||||
cd /opt/semaphore
|
||||
wget -q https://github.com/semaphoreui/semaphore/releases/download/v${RELEASE}/semaphore_${RELEASE}_linux_amd64.deb
|
||||
$STD dpkg -i semaphore_${RELEASE}_linux_amd64.deb
|
||||
$STD dpkg -i semaphore_${RELEASE}_linux_amd64.deb
|
||||
|
||||
SEM_HASH=$(openssl rand -base64 32)
|
||||
SEM_ENCRYPTION=$(openssl rand -base64 32)
|
||||
@ -79,7 +81,7 @@ motd_ssh
|
||||
customize
|
||||
|
||||
msg_info "Cleaning up"
|
||||
rm -rf semaphore_${RELEASE}_linux_amd64.deb
|
||||
rm -rf semaphore_${RELEASE}_linux_amd64.deb
|
||||
$STD apt-get -y autoremove
|
||||
$STD apt-get -y autoclean
|
||||
msg_ok "Cleaned"
|
||||
msg_ok "Cleaned"
|
||||
|
@ -1,39 +1,41 @@
|
||||
{
|
||||
"name": "Semaphore",
|
||||
"slug": "semaphore",
|
||||
"categories": [
|
||||
11
|
||||
],
|
||||
"date_created": "2024-12-26",
|
||||
"type": "ct",
|
||||
"updateable": true,
|
||||
"privileged": false,
|
||||
"interface_port": 3000,
|
||||
"documentation": "https://docs.semaphoreui.com/",
|
||||
"website": "https://semaphoreui.com/",
|
||||
"logo": "https://docs.semaphoreui.com/favicon.png?x=",
|
||||
"description": "Semaphore UI is a modern web interface for managing popular DevOps tools",
|
||||
"install_methods": [
|
||||
{
|
||||
"type": "default",
|
||||
"script": "ct/semaphore.sh",
|
||||
"resources": {
|
||||
"cpu": 2,
|
||||
"ram": 2048,
|
||||
"hdd": 4,
|
||||
"os": "Debian",
|
||||
"version": "12"
|
||||
}
|
||||
"name": "Semaphore",
|
||||
"slug": "semaphore",
|
||||
"categories": [],
|
||||
"date_created": "2024-12-26",
|
||||
"type": "ct",
|
||||
"updateable": true,
|
||||
"privileged": false,
|
||||
"interface_port": 3000,
|
||||
"documentation": "https://docs.semaphoreui.com/",
|
||||
"website": "https://semaphoreui.com/",
|
||||
"logo": "https://docs.semaphoreui.com/favicon.png?x=",
|
||||
"description": "Semaphore UI is a modern web interface for managing popular DevOps tools",
|
||||
"install_methods": [
|
||||
{
|
||||
"type": "default",
|
||||
"script": "ct/semaphore.sh",
|
||||
"resources": {
|
||||
"cpu": 2,
|
||||
"ram": 2048,
|
||||
"hdd": 4,
|
||||
"os": "Debian",
|
||||
"version": "12"
|
||||
}
|
||||
],
|
||||
"default_credentials": {
|
||||
"username": "admin",
|
||||
"password": "admin"
|
||||
}
|
||||
],
|
||||
"default_credentials": {
|
||||
"username": "admin",
|
||||
"password": null
|
||||
},
|
||||
"notes": [
|
||||
{
|
||||
"text": "This instance uses BoltDB",
|
||||
"type": "info"
|
||||
},
|
||||
"notes": [
|
||||
{
|
||||
"text": "This instance uses BoltDB",
|
||||
"type": "info"
|
||||
}
|
||||
]
|
||||
}
|
||||
{
|
||||
"text": "Admin password: `cat ~/semaphore.creds`",
|
||||
"type": "info"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user