We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a0909e commit 0f0e7abCopy full SHA for 0f0e7ab
files/Aboot/boot0.j2
@@ -175,6 +175,8 @@ platform_specific() {
175
echo "hugepages=128" >> /tmp/append
176
fi
177
if [ "$platform" = "rook" ]; then
178
+ echo "iommu=on intel_iommu=on tsc=reliable pcie_ports=native" >>/tmp/append
179
+ echo "rhash_entries=1 usb-storage.delay_use=0" >>/tmp/append
180
if [ -x /bin/readprefdl ]; then
181
readprefdl -f /tmp/.system-prefdl -d > /mnt/flash/.system-prefdl
182
elif [ -f /etc/prefdl ]; then
files/initramfs-tools/arista-convertfs.j2
@@ -41,6 +41,9 @@ get_flash_dev() {
41
wait_for_root_dev() {
42
local try_rounds=30
43
while [ $try_rounds -gt 0 ]; do
44
+ if blkid | sed 's/"//g' | grep -q "$root_dev"; then
45
+ return 0
46
+ fi
47
if [ -e "$root_dev" ]; then
48
return 0
49
0 commit comments