summaryrefslogtreecommitdiff
path: root/tests/integration_tests/bugs/test_lp1886531.py
diff options
context:
space:
mode:
authorDaniel Watkins <oddbloke@ubuntu.com>2020-11-02 13:08:53 -0500
committerGitHub <noreply@github.com>2020-11-02 13:08:53 -0500
commit2ea3121fece7dcdb0d5c424cb6fc597699c0e895 (patch)
tree98581568672b57401f64e062c0df6fa28d27d4f5 /tests/integration_tests/bugs/test_lp1886531.py
parent0ff34cfb94b3c480b6a697e4ad1878fa893a3a39 (diff)
downloadvyos-cloud-init-2ea3121fece7dcdb0d5c424cb6fc597699c0e895.tar.gz
vyos-cloud-init-2ea3121fece7dcdb0d5c424cb6fc597699c0e895.zip
test_lp1886531: don't assume /etc/fstab exists (#639)
As the bug manifested because groovy doesn't ship /etc/fstab, we should not assume that /etc/fstab will be present for us to remove in our bootcmd. Co-authored-by: Rick Harding <rharding@mitechie.com>
Diffstat (limited to 'tests/integration_tests/bugs/test_lp1886531.py')
-rw-r--r--tests/integration_tests/bugs/test_lp1886531.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration_tests/bugs/test_lp1886531.py b/tests/integration_tests/bugs/test_lp1886531.py
index b1112185..058ea8bb 100644
--- a/tests/integration_tests/bugs/test_lp1886531.py
+++ b/tests/integration_tests/bugs/test_lp1886531.py
@@ -15,7 +15,7 @@ import pytest
USER_DATA = """\
#cloud-config
bootcmd:
-- rm /etc/fstab
+- rm -f /etc/fstab
"""