IP | OS Info | CPU | RAM | PURPOSE |
---|---|---|---|---|
34.87.143.81 | Ubuntu 18.04.6 LTS | 4 CORE | 8GB | Postgres Instance |
34.124.179.57 | Ubuntu 18.04.6 LTS | 2 CORE | 4GB | Odoo Instance |
34.124.251.112 | Debian bullseye | 2 CORE | 4GB | Nginx Instance |
34.126.139.122 | Debian bullseye | 2 CORE | 4GB | PgBouncer Instance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[options] | |
addons_path = /Users/daniel/odoo10/odooc/odoo/addons,/Users/daniel/odoo10/addons10 | |
admin_passwd = admin | |
csv_internal_sep = , | |
data_dir = /Users/odoo/Odoo | |
db_host = localhost | |
db_maxconn = 64 | |
db_password = openerp |
Proxmox VE 6.x release includes a feature to add custom cloud-init configs. Unfortunately there is poor documentation, so I had to figure this out by adding pieces of information together.
The cloud-init files need to be stored in a snippet. This is not very well documented:
- Go to
Storage View -> Storage -> Add -> Directory
- Give it an ID such as
snippets
, and specify any path on your host such as/snippets
- Under
Content
chooseSnippets
and de-selectDisk image
(optional) - Upload (scp/rsync/whatever) your
user-data, meta-data, network-config
files to your proxmox server in/snippets/snippets/
(the directory should be there if you followed steps 1-3)
The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.
The correct way of creating a private frok by duplicating the repo is documented here.
For this assignment the commands are:
- Create a bare clone of the repository.
(This is temporary and will be removed so just do it wherever.)
git clone --bare [email protected]:usi-systems/easytrace.git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -o errexit | |
clear | |
printf "\n*** This script will download a cloud image and create a Proxmox VM template from it. ***\n\n" | |
### HOW TO USE | |
### Pre-req: | |
### - run on a Proxmox 6 server | |
### - a dhcp server should be active on vmbr1 |