-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path...
More file actions
86 lines (73 loc) · 1.96 KB
/
...
File metadata and controls
86 lines (73 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#... strucs
# This file is an absolute mess but everything is declared here
EDITOR="${EDITOR:-vim}"
repo_url="https://github.com/h8d13/VaseX"
################## VM STUFF
arch="x86_64"
ram="8096"
# 16384 4048 2024 1012
cores="6"
# vCPUS so actually threads but named it cores
size="60G"
# Preallocation doesnt take space directly
vm_d="a"
# "a" for testing build ISOs "d" for regular
iso_n="VASE-2025.10.24-x86_64"
vm_name="myvm0"
#vm_name="myvm1" #gnome-testing
#vm_name="myvm2" #alpine
#vm_name="myvm3" #arch
#dupkvm will look something like this 9c901bmyvm1
vm_ext="qcow2" #raw, bin
## For running with attached storage
target_p="sda"
target_t="/dev/"
target="${target_t}${target_p}"
## This can also be a mounted fs
# Mount it first.
# Check lsblk output to find which partition it is.
# Ex sdd3 8:51 0 880.5G 0 part /run/media/usr/UUID
## QEMU Display Settings
qemu_display="sdl"
# Display backend: sdl, gtk, vnc
qemu_gl="on"
# GL acceleration: on, off (for gtk)
qemu_uefi=1
# Copy EFI vars to QEMU: 1 or 0
qemu_clipboard=0
# Clipboard sharing: 1 or 0
audio_backend="pipewire" # pa, alsa, pipewire, or none
audio_device="intel-hda" # intel-hda, AC97, usb-audio
################## DIRS/LOGS/PERMS
s_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
rel="$s_dir/"
# Dir mods
hide_d="."
ext_d=".d"
hide_d_mod=1 # 1=hidden, 0=visible
ext_d_mod=1 # 1=hidden, 0=visible
# Build custom_n with conditional prefix and suffix
custom_n="vase"
[ "$hide_d_mod" = "1" ] && custom_n="${hide_d}${custom_n}"
[ "$ext_d_mod" = "1" ] && custom_n="${custom_n}${ext_d}"
#### Names
p_lib="$custom_n"
c_file="logs"
c_ext="conf"
rcw_file="rcw"
log_n="vase"
log_ext="log"
cli_a="cli_art"
#### More paths
vase_d="vase_os"
zl_d="$vase_d/zazu_lago"
gl_d="$vase_d/grome_lum"
ka_d="$vase_d/kaes_arch"
pp_d="$vase_d/pacto_pac"
vase_p_env="$vase_d/env"
vase_p_deps="$vase_d/mindeps"
#### Future alpine imp
# Privilege escalation (ex: doas alternative)
elev_cmd="sudo"
## For runtime output
script_s=$(date +%s%6N)