mirror of
https://github.com/khuedoan/homelab.git
synced 2025-07-08 14:58:01 +07:00
build: initial support for configuration script
This commit is contained in:
26
configure.py
Executable file
26
configure.py
Executable file
@ -0,0 +1,26 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""
|
||||
Basic configure script for new users
|
||||
"""
|
||||
|
||||
import platform
|
||||
import sys
|
||||
|
||||
if sys.version_info < (3, 10, 0):
|
||||
raise Exception("Must be using Python >= 3.10.0")
|
||||
|
||||
if platform.system() != 'Linux':
|
||||
raise Exception("Only Linux is supported, please us a Linux VM or switch operating system")
|
||||
|
||||
# TODO
|
||||
# - check if docker installed
|
||||
# - check if make installed
|
||||
# - confirm text editor $EDITOR
|
||||
# - change domain
|
||||
# - change seed repo
|
||||
# - change gitops repo
|
||||
# - add Gitea remote?
|
||||
# - change hardware info
|
||||
# - change Terraform workspace (and make it optional?)
|
||||
# - step counter?
|
Reference in New Issue
Block a user