clonos / control-pane

ClonOS WEB control panel (CBSD WEB UI)
https://clonos.tekroutine.com
139 stars 35 forks source link

implement 'update profiles' button to update VM profiles #37

Open olevole opened 3 years ago

olevole commented 3 years ago

The CBSD project spends a lot of effort keeping the profiles up to date. Profiles often go out of date and images leave mirrors. Need a button to sync the latest profiles from the repository: https://github.com/cbsd/cbsd-vmprofiles

It is also useful to have a setting that will enable cron jobs on a regular basis/background.

pynixis commented 2 years ago

Rather than pulling OS images by hardcoded version numbers, could we pull images by "current" or "latest"? If so, I wouldn't mind doing the work.

olevole commented 2 years ago

There will be a similar solution through an intermediate mapping file, as is done in MyBee ( https://myb.convectix.com ):


centos7_vm_os_type="linux" centos7_vm_os_profile="cloud-CentOS-7-x86_64" centos7_ssh_user="centos"

centos8_vm_os_type="linux" centos8_vm_os_profile="cloud-CentOS-stream-8-x86_64" centos8_ssh_user="centos"

rocky8_vm_os_type="linux" rocky8_vm_os_profile="cloud-Rocky-8-x86_64" rocky8_ssh_user="rocky"

oracle7_vm_os_type="linux" oracle7_vm_os_profile="cloud-Oracle-7-x86_64" oracle7_ssh_user="oracle"

oracle8_vm_os_type="linux" oracle8_vm_os_profile="cloud-Oracle-8-x86_64" oracle8_ssh_user="oracle"

ubuntu20_vm_os_type="linux" ubuntu20_vm_os_profile="cloud-ubuntuserver-amd64-20.04" ubuntu20_ssh_user="ubuntu"

ubuntu22_vm_os_type="linux" ubuntu22_vm_os_profile="cloud-ubuntuserver-amd64-22.04" ubuntu22_ssh_user="ubuntu"

ubuntu22_vdi_vm_os_type="linux" ubuntu22_vdi_vm_os_profile="cloud-ubuntudesktop-amd64-22.04" ubuntu22_vdi_ssh_user="ubuntu"

debian10_vm_os_type="linux" debian10_vm_os_profile="cloud-Debian-x86-10" debian10_ssh_user="debian"

debian11_vm_os_type="linux" debian11_vm_os_profile="cloud-Debian-x86-11" debian11_ssh_user="debian"

dflybsd6_vm_os_type="dflybsd" dflybsd6_vm_os_profile="cloud-DragonflyBSD-hammer-x64-6" dflybsd6_ssh_user="dragonfly"

opnsense22_vm_os_type="freebsd" opnsense22_vm_os_profile="cloud-OPNSense-22-RELEASE-amd64-22" opnsense22_ssh_user="freebsd"

fedora36_vm_os_type="linux" fedora36_vm_os_profile="cloud-Fedora-36-x86_64" fedora36_ssh_user="fedora"

freebsd13_ufs_vm_os_type="freebsd" freebsd13_ufs_vm_os_profile="cloud-FreeBSD-ufs-x64-13.1" freebsd13_ufs_ssh_user="freebsd"

freebsd13_zfs_vm_os_type="freebsd" freebsd13_zfs_vm_os_profile="cloud-FreeBSD-zfs-x64-13.1" freebsd13_zfs_ssh_user="freebsd"

freebsd14_ufs_vm_os_type="freebsd" freebsd14_ufs_vm_os_profile="cloud-FreeBSD-ufs-x64-14" freebsd14_ufs_ssh_user="freebsd"

freebsd14_zfs_vm_os_type="freebsd" freebsd14_zfs_vm_os_profile="cloud-FreeBSD-zfs-x64-14" freebsd14_zfs_ssh_user="freebsd"

freepbx_vm_os_type="linux" freepbx_vm_os_profile="cloud-FreePBX-16-x86_64" freepbx_ssh_user="centos"

homeass_vm_os_type="linux" homeass_vm_os_profile="cloud-HomeAssistant-8" homeass_ssh_user="debian"

kali2022_vm_os_type="linux" kali2022_vm_os_profile="cloud-Kali-2022-amd64" kali2022_ssh_user="kali"

openbsd70_vm_os_type="openbsd" openbsd70_vm_os_profile="cloud-openbsd-x86-70" openbsd70_ssh_user="openbsd"

openbsd7_vm_os_type="openbsd" openbsd7_vm_os_profile="cloud-openbsd-x86-7" openbsd7_ssh_user="openbsd"

netbsd9_vm_os_type="netbsd" netbsd9_vm_os_profile="cloud-netbsd-x86-9" netbsd9_ssh_user="netbsd

We need to merge the MyBee + K8S-bhyve subproject with ClonOS in the next release. In addition, after this work, ClonOS will receive multi-node operations.