Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update common.sh with functions for all jails+first migration "console.sh" #792

Merged
merged 38 commits into from
Jan 27, 2025
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
bb7f73e
bastille: rename functions to "old" in place of new ones
tschettervictor Jan 6, 2025
dbd303f
common.sh: integrate new functions
tschettervictor Jan 6, 2025
5017ad0
console: new update
tschettervictor Jan 6, 2025
61788cc
fix shellcheck
tschettervictor Jan 6, 2025
53295ba
quick oopsy fix for exporting TARGET
tschettervictor Jan 6, 2025
f766f26
common: move export to after for loop
tschettervictor Jan 6, 2025
02396f5
vnet: start VNET jails at 1 because bastille0 is used as a loopback
tschettervictor Jan 6, 2025
677540a
clone: change interfaces to start with 1 for VNET
tschettervictor Jan 6, 2025
0c2c93c
clone: quietly check for "ether" string when cloning
tschettervictor Jan 6, 2025
49a9ce9
clone: 0>1 for base interface grep
tschettervictor Jan 6, 2025
873a523
common: 0>1 for base interface grep
tschettervictor Jan 6, 2025
e9ad74d
clone: revert VNET function
tschettervictor Jan 6, 2025
a9bd2d5
common.sh: revert VNET function
tschettervictor Jan 6, 2025
5d3f473
common: grep quietly for "check_target_is*" functions
tschettervictor Jan 6, 2025
27fe77d
console: use -s to force start instead of -f
tschettervictor Jan 7, 2025
c4b1d2a
Merge branch 'BastilleBSD:master' into common.sh_functions
tschettervictor Jan 7, 2025
e3a57e2
common: simplify debug message
tschettervictor Jan 7, 2025
0aac59a
console: Change -s to -a
tschettervictor Jan 7, 2025
1882666
common: support single target function error when multi-target selected
tschettervictor Jan 8, 2025
3c49a47
console: jail > jail(s)
tschettervictor Jan 9, 2025
4aff04d
console: missed check_fib function
tschettervictor Jan 9, 2025
fb145b3
common: error when jail name is a number
tschettervictor Jan 10, 2025
d1e475e
common: fix brackets []
tschettervictor Jan 10, 2025
f55335e
common: fix []
tschettervictor Jan 10, 2025
3076765
docs: document JID login for console
tschettervictor Jan 11, 2025
3674c84
docs: add code block for console
tschettervictor Jan 11, 2025
59296d6
console: _jail>TARGET
tschettervictor Jan 14, 2025
edc6f29
common: final revision of changes
tschettervictor Jan 15, 2025
fb1d4fc
Merge branch 'master' into common.sh_functions
tschettervictor Jan 15, 2025
fdff42a
common: fix epair naming
tschettervictor Jan 18, 2025
69ef27f
Merge branch 'master' into common.sh_functions
tschettervictor Jan 18, 2025
342087c
Merge branch 'BastilleBSD:master' into common.sh_functions
tschettervictor Jan 20, 2025
d4d747d
create: Do not allow only numbers in name
tschettervictor Jan 21, 2025
603da3c
common: Adjust fstab function
tschettervictor Jan 21, 2025
b3ff3ef
common: Add comment about MAC address
tschettervictor Jan 24, 2025
8425524
create: Clarify numbers > digits/numerals
tschettervictor Jan 24, 2025
94da0c4
create: digits/numerals > digits
tschettervictor Jan 24, 2025
2e55965
Merge branch 'master' into common.sh_functions
tschettervictor Jan 26, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion usr/local/share/bastille/create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ validate_name() {
elif [ "${NAME_VERIFY}" != "${NAME_SANITY}" ]; then
error_exit "Container names may not contain special characters!"
elif echo "${NAME_VERIFY}" | grep -qE '^[0-9]+$'; then
error_exit "Container names may not contain only numbers."
error_exit "Container names may not contain only digits/numerals."
tschettervictor marked this conversation as resolved.
Show resolved Hide resolved
fi
}

Expand Down