root@ubuntu-server:/# sed -i '/^ExecStart=/ s,=,=/usr/bin/strace --inject read:delay_enter=60s ,' /usr/lib/systemd/system/casper-md5check.service
root@ubuntu-server:/# cat /usr/lib/systemd/system/casper-md5check.service
[Unit]
Description=casper-md5check Verify Live ISO checksums
After=multi-user.target
...
[ OK ] Reached target Multi-User System.
Starting casper-md5check Verify Live ISO checksums...
Starting Execute cloud user/final scripts...
...
[ OK ] Finished Execute cloud user/final scripts.
[ OK ] Reached target Cloud-init target.
Ubuntu 22.04.1 LTS ubuntu-server ttyS0
connecting...
<a few seconds later>
================================================================================
Serial [ Help ]
================================================================================
As the installer is running on a serial console, it has started in basic
mode, using only the ASCII character set and black and white colours.
If you are connecting from a terminal emulator such as gnome-terminal that
supports unicode and rich colours you can switch to "rich mode" which uses
unicode, colours and supports many languages.
You can also connect to the installer over the network via SSH, which will
allow use of rich mode.
[ Continue in rich mode > ] [ Continue in basic mode > ] [ View SSH instructions ]
Verification done for jammy-proposed.
...
Booting jammy-live- server- amd64.iso with `break=init`
(more details in comment #37).
(initramfs) chroot /root /bin/bash server: /# dhclient enp1s0
root@ubuntu-
root@ubuntu- server: /# add-apt-repository -y -p proposed
root@ubuntu- server: /# apt install -y casper/ jammy-proposed
root@ubuntu- server: /# apt policy casper security. ubuntu. com/ubuntu jammy-proposed/main amd64 Packages archive. ubuntu. com/ubuntu jammy-proposed/main amd64 Packages dpkg/status server: /# add-apt-repository -y -p proposed -r
casper:
Installed: 1.470.2
Candidate: 1.470.2
Version table:
*** 1.470.2 500
500 http://
500 http://
100 /var/lib/
...
root@ubuntu-
...
root@ubuntu- server: /# sed -i '/^ExecStart=/ s,=,=/usr/ bin/strace --inject read:delay_ enter=60s ,' /usr/lib/ systemd/ system/ casper- md5check. service
root@ubuntu- server: /# cat /usr/lib/ systemd/ system/ casper- md5check. service casper- md5check Verify Live ISO checksums user.target
[Unit]
Description=
After=multi-
[Service] /usr/bin/ strace --inject read:delay_ enter=60s /usr/lib/ casper/ casper- md5check /cdrom /cdrom/md5sum.txt
Type=oneshot
ExecStart=
...
root@ubuntu- server: /# exit
exit
(initramfs) exit
...
...
[ OK ] Reached target Multi-User System.
Starting casper-md5check Verify Live ISO checksums...
Starting Execute cloud user/final scripts...
...
[ OK ] Finished Execute cloud user/final scripts.
[ OK ] Reached target Cloud-init target.
Ubuntu 22.04.1 LTS ubuntu-server ttyS0
connecting...
<a few seconds later>
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= === ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ===
Serial [ Help ]
=======
As the installer is running on a serial console, it has started in basic
mode, using only the ASCII character set and black and white colours.
If you are connecting from a terminal emulator such as gnome-terminal that
supports unicode and rich colours you can switch to "rich mode" which uses
unicode, colours and supports many languages.
You can also connect to the installer over the network via SSH, which will
allow use of rich mode.