mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-09 19:51:34 -05:00
Update Proxmox-7.sh
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
c2b856b24e
commit
2ac5ffc9da
@ -6,7 +6,7 @@ apt update
|
|||||||
apt upgrade -y
|
apt upgrade -y
|
||||||
apt install -y intel-microcode tuned apparmor-profiles fwupd
|
apt install -y intel-microcode tuned apparmor-profiles fwupd
|
||||||
|
|
||||||
tuned-adm profile virt-host
|
tuned-adm profile virtual-host
|
||||||
|
|
||||||
### This part assumes that you are using systemd-boot
|
### This part assumes that you are using systemd-boot
|
||||||
echo -e "spectre_v2=on spec_store_bypass_disable=on l1tf=full,force mds=full,nosmt tsx=off tsx_async_abort=full,nosmt kvm.nx_huge_pages=force nosmt=force l1d_flush=on mmio_stale_data=full,nosmt random.trust_bootloader=off random.trust_cpu=off intel_iommu=on amd_iommu=on efi=disable_early_pci_dma iommu.passthrough=0 iommu.strict=1 slab_nomerge init_on_alloc=1 init_on_free=1 pti=on vsyscall=none page_alloc.shuffle=1 randomize_kstack_offset=on extra_latent_entropy debugfs=off $(cat /etc/kernel/cmdline)" > /etc/kernel/cmdline
|
echo -e "spectre_v2=on spec_store_bypass_disable=on l1tf=full,force mds=full,nosmt tsx=off tsx_async_abort=full,nosmt kvm.nx_huge_pages=force nosmt=force l1d_flush=on mmio_stale_data=full,nosmt random.trust_bootloader=off random.trust_cpu=off intel_iommu=on amd_iommu=on efi=disable_early_pci_dma iommu.passthrough=0 iommu.strict=1 slab_nomerge init_on_alloc=1 init_on_free=1 pti=on vsyscall=none page_alloc.shuffle=1 randomize_kstack_offset=on extra_latent_entropy debugfs=off $(cat /etc/kernel/cmdline)" > /etc/kernel/cmdline
|
||||||
|
Loading…
Reference in New Issue
Block a user