mirror of
https://codeberg.org/scip/jaildk.git
synced 2025-12-17 04:31:02 +01:00
move to codeberg
This commit is contained in:
39
.woodpecker/build.yaml
Normal file
39
.woodpecker/build.yaml
Normal file
@@ -0,0 +1,39 @@
|
||||
labels:
|
||||
platform: linux/amd64
|
||||
|
||||
steps:
|
||||
test:
|
||||
when:
|
||||
event: [push]
|
||||
image: aygpdr/freebsd:4.3-RELEASE
|
||||
commands:
|
||||
- freebsd-version
|
||||
- sysctl hw.model
|
||||
- sysctl hw.ncpu
|
||||
- sysctl hw.physmem
|
||||
- sysctl hw.usermem
|
||||
- ls -la
|
||||
- ifconfig em0 172.16.0.1/32 alias
|
||||
- ifconfig -a
|
||||
- set -x -e
|
||||
- sysrc jail_enable="YES"
|
||||
- cp .github/assets/jail.conf /etc/
|
||||
|
||||
- cp src/jaildk.sh jaildk
|
||||
- sh jaildk setup /jail
|
||||
|
||||
- fetch https://download.freebsd.org/ftp/releases/amd64/amd64/14.1-RELEASE/base.txz -o /jail/base/14.1-RELEASE-base.txz
|
||||
- mkdir -p /jail/base/14.1-RELEASE
|
||||
- tar -xf /jail/base/14.1-RELEASE-base.txz -C /jail/base/14.1-RELEASE --unlink
|
||||
|
||||
- /jail/bin/jaildk create test
|
||||
- ls -l /jail/etc/test
|
||||
- /jail/bin/jaildk build test -m start
|
||||
- df -h /jail/build/test/etc
|
||||
|
||||
- echo 'sshd_enable="Yes"' > /jail/build/test/usr/local/etc/rc.conf
|
||||
- chroot /jail/build/test /etc/rc.d/sshd keygen
|
||||
|
||||
- /jail/bin/jaildk start test
|
||||
- /jail/bin/jaildk status | grep -E "test|Jail"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[](https://github.com/tlinden/jaildk/actions)
|
||||
[](https://codeberg.org/scip/jaildk/actions)
|
||||
|
||||
## jaildk - a FreeBSD jail development kit v2.0.4
|
||||
|
||||
@@ -656,7 +656,7 @@ that's the best way for me to forget to do something.
|
||||
|
||||
In order to report a bug, unexpected behavior, feature requests
|
||||
or to submit a patch, please open an issue on github:
|
||||
https://github.com/TLINDEN/jaildk/issues.
|
||||
https://codeberg.org/scip/jaildk/issues.
|
||||
|
||||
## Copyright and license
|
||||
|
||||
@@ -670,5 +670,5 @@ F.Sass (Culsu)
|
||||
|
||||
## Project homepage
|
||||
|
||||
https://github.com/TLINDEN/jaildk
|
||||
https://codeberg.org/scip/jaildk
|
||||
|
||||
|
||||
@@ -1781,7 +1781,7 @@ jaildk_update() {
|
||||
rcscript=update
|
||||
force=''
|
||||
|
||||
repo="https://github.com/TLINDEN/jaildk.git"
|
||||
repo="https://codeberg.org/scip/jaildk.git"
|
||||
mustberoot
|
||||
|
||||
OPTIND=1; while getopts "f" arg; do
|
||||
|
||||
Reference in New Issue
Block a user