mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 11:01:09 +00:00
Commence draaft work on ubuntu diskless
Provide a initramfs hook (akin to dracut module) and a potential pkglist to cover what debootstrap does not provide by default.
This commit is contained in:
parent
524f0d460f
commit
cde45bb170
42
imgutil/ubuntu/initramfs-tools/hooks/confluent
Normal file
42
imgutil/ubuntu/initramfs-tools/hooks/confluent
Normal file
@ -0,0 +1,42 @@
|
||||
#!/bin/sh
|
||||
|
||||
PREREQ=""
|
||||
|
||||
prereqs()
|
||||
{
|
||||
echo "$PREREQ"
|
||||
}
|
||||
|
||||
case $1 in
|
||||
prereqs)
|
||||
prereqs
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
. /usr/share/initramfs-tools/scripts/functions
|
||||
. /usr/share/initramfs-tools/hook-functions
|
||||
|
||||
copy_exec /usr/bin/curl
|
||||
copy_exec /usr/bin/bash
|
||||
copy_exec /usr/bin/tpm2_startauthsession
|
||||
copy_exec /usr/bin/tpm2_policypcr
|
||||
copy_exec /usr/bin/tpm2_createprimary
|
||||
copy_exec /usr/bin/tpm2_create
|
||||
copy_exec /usr/bin/tpm2_load
|
||||
copy_exec /usr/bin/tpm2_evictcontrol
|
||||
copy_exec /usr/bin/tpm2_flushcontext
|
||||
copy_exec /usr/bin/tpm2_unseal
|
||||
copy_exec /usr/bin/tpm2_flushcontext
|
||||
copy_exec /usr/bin/tpm2_pcrextend
|
||||
copy_exec /usr/bin/ssh-keygen
|
||||
copy_exec /usr/sbin/sshd
|
||||
copy_exec /usr/sbin/mkfs.xfs
|
||||
manual_add_modules e1000 e1000e igb sfc mlx5_ib mlx5_core mlx4_en cxgb3 cxgb4
|
||||
manual_add_modules tg3 bnx2 bnx2x bna ixgb ixgbe qlge mptsas mpt2sas mpt3sas
|
||||
manual_add_modules megaraid_sas ahci xhci-hcd sd_mod pmcraid be2net vfat ext3
|
||||
manual_add_modules ext4 usb_storage scsi_wait_scan ipmi_si ipmi_devintf qlcnic
|
||||
manual_add_modules xfs nvme cdc_ether mptctl mlx4_ib mlx5_ub ib_umad ib_ipoib
|
||||
manual_add_modules ice i40e hfi1 bnxt_en qed qede dm-mod dm-log raid0 raid1
|
||||
manual_add_modules raid10 raid456 dm-raid dm-thin-pool dm-crypt dm-snapshot
|
||||
manual_add_modules linear dm-era fuse overlay squashfs loop zram
|
39
imgutil/ubuntu/pkglist
Normal file
39
imgutil/ubuntu/pkglist
Normal file
@ -0,0 +1,39 @@
|
||||
linux-generic
|
||||
shim-signed
|
||||
grub-efi-amd64-bin
|
||||
busybox-initramfs
|
||||
busybox-static
|
||||
curl
|
||||
efibootmgr
|
||||
fuse
|
||||
gawk
|
||||
cpio
|
||||
distro-info
|
||||
dmidecode
|
||||
initramfs-tools
|
||||
initramfs-tools-bin
|
||||
initramfs-tools-core
|
||||
lvm2
|
||||
lshw
|
||||
lsof
|
||||
mdadm
|
||||
openssh-client
|
||||
openssh-server
|
||||
openssh-sftp-server
|
||||
pci.ids
|
||||
pciutils
|
||||
psmisc
|
||||
rsync
|
||||
squashfs-tools
|
||||
strace
|
||||
tcpdump
|
||||
tmux
|
||||
ubuntu-server
|
||||
ubuntu-standard
|
||||
usb.ids
|
||||
usbutils
|
||||
vim
|
||||
uuid-runtime
|
||||
wget
|
||||
xfsprogs
|
||||
|
Loading…
Reference in New Issue
Block a user