diff options
author | Scott Moser <smoser@ubuntu.com> | 2010-01-26 22:53:00 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2010-01-26 22:53:00 -0500 |
commit | eb74cd6f36a2f4d2ebdee04d6b388834b1bc72d4 (patch) | |
tree | 89d6cdf38758b68639bf5f8d8fbcb220f2ce1f71 /doc/examples/cloud-config-TODO.txt | |
parent | 4f389802609dd1a764bd93f2babda7e9eef7f1ba (diff) | |
download | vyos-cloud-init-eb74cd6f36a2f4d2ebdee04d6b388834b1bc72d4.tar.gz vyos-cloud-init-eb74cd6f36a2f4d2ebdee04d6b388834b1bc72d4.zip |
add doc/userdata.txt, move examples to doc/.
Diffstat (limited to 'doc/examples/cloud-config-TODO.txt')
-rw-r--r-- | doc/examples/cloud-config-TODO.txt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/examples/cloud-config-TODO.txt b/doc/examples/cloud-config-TODO.txt new file mode 100644 index 00000000..20db618f --- /dev/null +++ b/doc/examples/cloud-config-TODO.txt @@ -0,0 +1,35 @@ +# Add apt configuration files +# Add an apt.conf.d/ file with the relevant content +# +# See apt.conf man page for more information. +# +# Defaults: +# + filename: 00-boot-conf +# +apt_conf: + + # Creates an apt proxy configuration in /etc/apt/apt.conf.d/01-proxy + - filename: "01-proxy" + content: | + Acquire::http::Proxy "http://proxy.example.org:3142/ubuntu"; + + # Add the following line to /etc/apt/apt.conf.d/00-boot-conf + # (run debconf at a critical priority) + - content: | + DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt -p critical|| true"; + +# Provide debconf answers +# +# See debconf-set-selections man page. +# +# Default: none +# +debconf_selections: | # Need to perserve newlines + # Force debconf priority to critical. + debconf debconf/priority select critical + + # Override default frontend to readline, but allow user to select. + debconf debconf/frontend select readline + debconf debconf/frontend seen false + + |