mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-17 10:21:17 +02:00
Waagent ejects the provisioning dvd, but this causes the /dev/sr0 drive to be in a state where util-linux probing it causes the kernel to spam "unaligned transfer" messages. This is fixed in util-linux main branch, but it will be a while until this is released. Create a symlink from 'eject' to '/bin/true' and modify the unit's PATH environment variable so that this symlink is found before the eject binary. Additionally I added the oem python directory to PATH, so that waagent can be start directly. This should be enough so that messages from waagent in the journal are prefixed with 'waagent' and not 'python'. Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>