Skip to content
Snippets Groups Projects
Commit fcb1e8b5 authored by Dylan Aïssi's avatar Dylan Aïssi
Browse files

apertis-update-manager-usb-unplug: fix HTML rendering

parent 174b5fe1
No related branches found
No related tags found
1 merge request!580apertis-update-manager-usb-unplug: fix HTML rendering
Pipeline #645695 passed
......@@ -49,10 +49,10 @@ run:
- "Remove the initial deployment"
- $ sudo ostree admin undeploy 1
- "Add udev rule for limiting the maximal read speed from USB drive to 1MBps."
- $ sudo tee /etc/udev/rules.d/99-usblimit.rules <<"EOF"
- |
>KERNEL=="sd*", SUBSYSTEMS=="usb", ACTION=="add", ENV{DEVTYPE}=="disk", ENV{MAJOR}=="8", RUN+="/bin/sh -c 'echo $env{MAJOR}:$env{MINOR} 1048576 > /sys/fs/cgroup/blkio/blkio.throttle.read_bps_device'"
EOF
$ sudo tee /etc/udev/rules.d/99-usblimit.rules <<"EOF"
KERNEL=="sd*", SUBSYSTEMS=="usb", ACTION=="add", ENV{DEVTYPE}=="disk", ENV{MAJOR}=="8", RUN+="/bin/sh -c 'echo $env{MAJOR}:$env{MINOR} 1048576 > /sys/fs/cgroup/blkio/blkio.throttle.read_bps_device'"
EOF
- "Reboot the system"
- "Check the current deployment"
- $ sudo ostree admin status
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment