Commit Graph
62 Commits
Author SHA1 Message Date
Jose 7db47f3dac Allow the user specify path for Export/Import on-the-fly 2020-04-04 09:46:56 -04:00
Jose c2fefc5f16 Support for 'ezjail' archive import, improvements and fixes 2020-04-03 07:56:28 -04:00
Jose 9b3fde59b8 Fix Thickjail mountpoint inheritance in the root dataset 2020-02-21 11:35:35 -04:00
Jose 8e30774235 Merge remote-tracking branch 'upstream/master' 2020-02-21 11:31:12 -04:00
Jose 29016faf20 Just return 0 if bastille_jail_external is set 2020-02-20 21:08:04 -04:00
Jose 01eaccc1da Add double quotes to prevent globbing/word splitting, general code consistency improvements 2020-02-20 18:06:31 -04:00
Jose 8c1f9cd57a Just grep globally if jail list not empty 2020-02-20 12:22:25 -04:00
Jose 6b7b506c83 Simplify destroy options, no need to shift 1 on single options 2020-02-20 10:41:41 -04:00
Jose e26fe60fe4 Keep options simple yet support for long options 2020-02-19 19:53:25 -04:00
Jose 5b25dbcdc5 Initial support to import foreign containers, ignore fstab update if don't exist. 2020-02-18 19:58:59 -04:00
Jose 3b8c339dfa Workaround to combine options first, code cleanup/maintenance 2020-02-18 17:04:06 -04:00
Jose 75fc18fec9 Initial IPv6 support 2020-02-16 13:22:32 -04:00
Jose 015558c4bc Don't set jail ZFS dataset mountpoint, let be inherited from the system 2020-02-15 07:57:33 -04:00
Jose 53e7856d28 Ignore IPv4 check if there is no entry at all 2020-02-14 19:01:08 -04:00
Jose 19cadec03e Add quoted variables to rctl 2020-02-14 11:43:26 -04:00
Jose 7ef65036c6 Return proper warning messages, code cleanup 2020-02-14 11:00:02 -04:00
Jose 1d1ea761fe Display corresponding platform OS while extracting distfiles 2020-02-11 17:43:52 -04:00
Jose bf0bffd30f Update HardenedBSD options in bootstrap command too 2020-02-11 17:27:02 -04:00
Jose fe012c44f0 Update HardenedBSD options in destroy command too 2020-02-10 15:39:14 -04:00
Jose d1709b7199 Add HardenedBSD support for convert, import and rename commands 2020-02-10 15:22:41 -04:00
Jose 0e93832a30 Minor change, update comment 2020-02-10 14:10:00 -04:00
Jose 206d6a59e9 Ability to rename containers in both ZFS and UFS platforms 2020-02-10 14:03:28 -04:00
Jose 84cc8cb103 Cleanup unused code, display related platform OS while bootstrapping for reference 2020-02-08 09:10:17 -04:00
Jose 498029a13c Code improvements, use awk for exact match 2020-02-05 07:00:11 -04:00
Jose 96fcc6b591 Remove unneeded cat command 2020-02-04 15:56:52 -04:00
Jose b3f4064d08 Compare/update fstab if both variables are set 2020-02-04 13:37:20 -04:00
Jose b3a30a8951 Delete cache files on destroy if force option, remove alternate urls 2020-02-02 19:55:18 -04:00
Jose 9517d9608e Fix typo in bootstrap.sh 2020-02-02 12:03:35 -04:00
Jose 874e3696e3 Do not hardcode alternate url's in bootstrap.sh 2020-02-02 12:00:09 -04:00
Jose 013987f7e1 Fix minor bootstrap.sh regression 2020-02-02 07:24:16 -04:00
Jose 9681254d76 Add force stop option to bastille destroy, minor code cleanup 2020-02-02 06:50:58 -04:00
Jose 5aba0d36f5 Do not use suffix version number in HardenedBSD "CURRENT" releases 2020-02-02 04:08:24 -04:00
Jose 7620d61e49 Add HardenedBSD CURRENT and LATEST download options, and code improvements 2020-02-02 02:42:22 -04:00
Jose 38ae0ed4a6 Update list command and config 2020-01-28 18:57:51 -04:00
Jose 095075b142 Initial support for container export and import 2020-01-26 19:45:26 -04:00
Jose e0d722203a Bootstrap additional distfiles after updating bootstrap_archives 2020-01-18 16:17:10 -04:00
Jose 39b3c25bb5 Add support for thinjail to thickjail conversion, minor code fixes 2020-01-16 15:03:05 -04:00
Jose 2eb91e2f95 Improved jail validation and deal with dashes 2019-12-29 23:04:19 -04:00
Jose f3615a3380 Minor changes, fix notify if container not started 2019-12-27 14:48:06 -04:00
Jose 0c78ebae88 Fix to match exact container name, add missing quotes 2019-12-27 13:15:58 -04:00
Jose ddff440b4f Simplify grep search, add full path to jexec 2019-12-19 11:23:46 -04:00
Jose 61f49e5d02 Merge remote-tracking branch 'upstream/master' 2019-12-19 11:20:47 -04:00
Jose 1b522522af Improved container update process, add support for Thickjail updates 2019-12-17 18:11:22 -04:00
Jose 23b96bd82a Minor code cleanup/formatting 2019-12-08 17:46:15 -04:00
Jose 172baa8c32 Validate user/shell to prevent stuck login 2019-12-05 16:52:57 -04:00
Jose cfcad20f4a Simplify URL validation, don't use ping/ICMP 2019-12-05 03:38:33 -04:00
Jose 6e8279ecd4 Wait just 2 secs before switch to a mirror and be quite 2019-12-03 01:20:34 -04:00
Jose 9a30610d1a Provide alternative fetch urls 2019-12-03 00:57:47 -04:00
Jose f68ed2ecfd Added support for HardenedBSD new link structure 2019-12-02 03:10:45 -04:00
Jose 03597e1489 Additional network config checks 2019-11-25 20:02:56 -04:00
Jose b16bed276e Validate network config if external NIC is unspecified 2019-11-20 16:09:26 -04:00
Jose 4eb5d1b9ba Match exact jail name for start/stop commands, don't allow for dots during create 2019-11-19 13:10:24 -04:00
Jose 4fb2cc1247 Apply sane bastille zfs options on thick jails 2019-11-18 13:24:18 -04:00
Jose 3191a9cc1c Use data replication for Thickjail on ZFS systems 2019-11-18 03:51:06 -04:00
Jose 74117629aa Add Thickjail create option and overall improvements and fixes 2019-11-17 18:15:19 -04:00
Jose 9bc8837f77 Simplify release name handling, code improvements and fixes 2019-11-08 02:37:45 -04:00
Jose 4f67515157 Create required jail/root dataset on ZFS setups 2019-11-03 01:58:29 -04:00
Jose 3c5d961925 Scan only related jails before base release deletion 2019-11-03 00:15:02 -04:00
Jose ae2b0ea0cb Added bootstrap checksum validation and minor fixes 2019-11-02 16:05:49 -04:00
Jose cbe04f2f68 Bastille improvements and fixes 2019-10-24 17:02:50 -04:00
Jose c22b508d25 Fix jail and releases output listing 2019-10-08 03:00:32 -04:00
Jose 9b5a71bd0a Add support for FreeBSD 11.3-RELEASE 2019-10-01 20:11:47 -04:00