diff options
Diffstat (limited to '')
-rw-r--r-- | content/blog/freebsd/change-the-ip-address-of-a-running-jail.md | 4 | ||||
-rw-r--r-- | content/blog/freebsd/clean-install-does-not-boot.md | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/content/blog/freebsd/change-the-ip-address-of-a-running-jail.md b/content/blog/freebsd/change-the-ip-address-of-a-running-jail.md index 815d352..c35116e 100644 --- a/content/blog/freebsd/change-the-ip-address-of-a-running-jail.md +++ b/content/blog/freebsd/change-the-ip-address-of-a-running-jail.md @@ -11,6 +11,6 @@ tags: Here is how to change the ip address of a running jail : -{{< highlight sh >}} +```sh jail -m ip4.addr=“192.168.1.87,192.168.1.88” jid=1 -{{< /highlight >}} +``` diff --git a/content/blog/freebsd/clean-install-does-not-boot.md b/content/blog/freebsd/clean-install-does-not-boot.md index d5603f7..b473cde 100644 --- a/content/blog/freebsd/clean-install-does-not-boot.md +++ b/content/blog/freebsd/clean-install-does-not-boot.md @@ -10,7 +10,7 @@ tags: I installed a fresh FreeBSD server today, and to my surprise it refused to boot. I had to do the following from my liveUSB : -{{< highlight yaml >}} +```sh gpart set -a active /dev/ada0 gpart set -a bootme -i 1 /dev/ada0 -{{< /highlight >}} +``` |