Skip to content

Commit

Permalink
tests: lxd_vm early boot status test ordered After=systemd-remount-fs (
Browse files Browse the repository at this point in the history
…#4936)

Fix errors seen on lxd_vm where test service
before-cloud-init-local.service gets run before the filesytem
is mounted read-write.

Test failures exhibit the following failure:
 systemctl status before-cloud-init-local.service:

/waitoncloudinit.sh: 7: cannot create /before-local: Read-only file system
  • Loading branch information
blackboxsw authored Feb 22, 2024
1 parent 6f52f15 commit e5249ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/integration_tests/cmd/test_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ def test_status_json_errors(client):
[Unit]
Description=BEFORE cloud-init local
DefaultDependencies=no
After=systemd-remount-fs.service
Before=cloud-init-local.service
Before=shutdown.target
Before=sysinit.target
Expand Down

0 comments on commit e5249ab

Please sign in to comment.