Merge lp:~thomir-deactivatedaccount/core-image-tester/trunk-trim-ssh-setup into lp:core-image-tester

Proposed by Thomi Richards
Status: Merged
Approved by: Thomi Richards
Approved revision: 34
Merged at revision: 33
Proposed branch: lp:~thomir-deactivatedaccount/core-image-tester/trunk-trim-ssh-setup
Merge into: lp:core-image-tester
Diff against target: 26 lines (+2/-8)
1 file modified
uci-nova (+2/-8)
To merge this branch: bzr merge lp:~thomir-deactivatedaccount/core-image-tester/trunk-trim-ssh-setup
Reviewer Review Type Date Requested Status
Francis Ginther Approve
Celso Providelo (community) Approve
Review via email: mp+257589@code.launchpad.net

Commit message

Remove some features from userdata that we don't need on core images (anything apt-related).

Description of the change

Remove some features from userdata that we don't need on core images (anything apt-related).

To post a comment you must log in.
Revision history for this message
Celso Providelo (cprov) wrote :

Thomi,

Only a minor inline comment ...

review: Approve
Revision history for this message
Francis Ginther (fginther) wrote :

Looks good, agree on adding the comment regarding the snappy.ssh_enabled: True

Pro-actively approving.

review: Approve
34. By Thomi Richards

Udpate comment.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'uci-nova'
--- uci-nova 2015-04-27 21:01:48 +0000
+++ uci-nova 2015-04-28 01:17:25 +0000
@@ -191,20 +191,14 @@
191 security_setup_neutron191 security_setup_neutron
192 fi192 fi
193 193
194 # generate cloud-init user data; mostly for manage_etc_hosts, but also get194 # generate cloud-init user data; mostly for manage_etc_hosts and
195 # rid of some unnecessary stuff in the VM195 # turning ssh on for core rolling_edge images.
196 local userdata=`mktemp`196 local userdata=`mktemp`
197 cat <<EOF > $userdata197 cat <<EOF > $userdata
198#cloud-config198#cloud-config
199manage_etc_hosts: true199manage_etc_hosts: true
200apt_update: true
201apt_upgrade: false
202snappy:200snappy:
203 ssh_enabled: True201 ssh_enabled: True
204
205runcmd:
206 - echo 'Acquire::Languages "none";' > /etc/apt/apt.conf.d/90nolanguages
207 - echo 'force-unsafe-io' > /etc/dpkg/dpkg.cfg.d/autopkgtest
208EOF202EOF
209203
210 EXTRA_OPTS=''204 EXTRA_OPTS=''

Subscribers

People subscribed via source and target branches

to all changes: