summaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-11-08 16:30:57 -0800
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-11-08 16:30:57 -0800
commit154ad87b29344ea4d29d92f8559f61bb6efe6530 (patch)
tree1fe5e54768223be3fd1cd184e16ef2288c600270 /tests/data
parent6240367f1e87b077c81a8af2883cd4b50f64d76b (diff)
downloadvyos-cloud-init-154ad87b29344ea4d29d92f8559f61bb6efe6530.tar.gz
vyos-cloud-init-154ad87b29344ea4d29d92f8559f61bb6efe6530.zip
Ensure that at needed stages the local variables
of the init class are reset so that when they are regenerated that they will use the updated data instead of using previous data (since they weren't reset). LP: #1076811
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/user_data.1.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/data/user_data.1.txt b/tests/data/user_data.1.txt
new file mode 100644
index 00000000..4c4543de
--- /dev/null
+++ b/tests/data/user_data.1.txt
@@ -0,0 +1,15 @@
+#cloud-config
+write_files:
+- content: blah
+ path: /etc/blah.ini
+ permissions: 493
+
+system_info:
+ package_mirrors:
+ - arches: [i386, amd64, blah]
+ failsafe:
+ primary: http://my.archive.mydomain.com/ubuntu
+ security: http://my.security.mydomain.com/ubuntu
+ search:
+ primary: []
+ security: []