Lines Matching full:sudo
11 sudo apt-get -y update
12 sudo apt-get install -y axel cloud-image-utils daemonize guestfs-tools \
20 cat << EOF | sudo tee /etc/ksmtuned.conf > /dev/null
40 sudo systemctl restart ksm
41 sudo systemctl restart ksmtuned
44 sudo systemctl stop docker.socket
45 sudo systemctl stop multipathd.socket
48 sudo swapoff -a
49 sudo umount -l /mnt
51 sudo sed -e "s|^$DISK.*||g" -i /etc/fstab
52 sudo wipefs -aq $DISK
53 sudo systemctl daemon-reload
55 sudo modprobe loop
56 sudo modprobe zfs
60 sudo sgdisk --zap-all $DISK
61 sudo sgdisk -p \
69 sudo mkswap $DISK-part1
70 sudo swapon $DISK-part1
76 sudo fallocate -l 10G /test.ssd1
77 SSD2=$(sudo losetup -b 4096 -f /test.ssd1 --show)
83 echo $ARC_MIN | sudo tee /sys/module/zfs/parameters/zfs_arc_min
84 echo $ARC_MAX | sudo tee /sys/module/zfs/parameters/zfs_arc_max
85 echo 1 | sudo tee /sys/module/zfs/parameters/zvol_use_blk_mq
86 sudo zpool create -f -o ashift=12 zpool $SSD1 $SSD2 \
92 echo "none" | sudo tee $i > /dev/null