Skip to content

Commit

Permalink
Include the OpenSSH client in recovery images
Browse files Browse the repository at this point in the history
  • Loading branch information
zdykstra committed Oct 30, 2022
1 parent 91900d3 commit 9f85003
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion etc/zfsbootmenu/recovery.conf.d/recovery.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ install_optional_items+=" /bin/efibootmgr "
install_optional_items+=" /bin/cryptsetup "

# Networking
install_optional_items+=" /bin/ip /bin/curl /bin/dhclient /sbin/dhclient-script "
install_optional_items+=" /bin/ip /bin/curl /bin/dhclient /sbin/dhclient-script /bin/ssh "
add_dracutmodules+=" kernel-network-modules qemu-net "
2 changes: 1 addition & 1 deletion releng/docker/image-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ buildah run "${container}" \
buildah run "${container}" xbps-install -y \
linux5.10 linux5.10-headers gummiboot-efistub curl yq-go bash kbd terminus-font \
dracut mkinitcpio dracut-network gptfdisk iproute2 iputils parted curl \
dosfstools e2fsprogs efibootmgr cryptsetup
dosfstools e2fsprogs efibootmgr cryptsetup openssh

# Remove headers and development toolchain, but keep binutils for objcopy
buildah run "${container}" sh -c 'echo "ignorepkg=dkms" > /etc/xbps.d/10-nodkms.conf'
Expand Down

0 comments on commit 9f85003

Please sign in to comment.