Refactor Docker VM script and modularize header
Refactored vm/docker-vm.sh for improved modularity, maintainability, and clarity. Moved ASCII header to a new vm/headers/docker-vm file, streamlined variable and function organization, and enhanced script structure for Docker VM creation with optional Portainer support. Improved error handling, storage selection, and image customization logic.
This commit is contained in:
parent
862f9bdb7e
commit
fa9e9fe4fe
755
vm/docker-vm.sh
755
vm/docker-vm.sh
File diff suppressed because it is too large
Load Diff
6
vm/headers/docker-vm
Normal file
6
vm/headers/docker-vm
Normal file
@ -0,0 +1,6 @@
|
||||
____ __ _ ____ ___
|
||||
/ __ \____ _____/ /_____ _____ | | / / |/ /
|
||||
/ / / / __ \/ ___/ //_/ _ \/ ___/ | | / / /|_/ /
|
||||
/ /_/ / /_/ / /__/ ,< / __/ / | |/ / / / /
|
||||
/_____/\____/\___/_/|_|\___/_/ |___/_/ /_/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user