Merge lp:~ubuntu-on-ec2/vmbuilder/jenkins_kvm-add-azure-cc into lp:~ubuntu-on-ec2/vmbuilder/jenkins_kvm

Proposed by Francis Ginther
Status: Merged
Merged at revision: 800
Proposed branch: lp:~ubuntu-on-ec2/vmbuilder/jenkins_kvm-add-azure-cc
Merge into: lp:~ubuntu-on-ec2/vmbuilder/jenkins_kvm
Diff against target: 62 lines (+58/-0)
1 file modified
templates/img-azure-18.10-addin.tmpl (+58/-0)
To merge this branch: bzr merge lp:~ubuntu-on-ec2/vmbuilder/jenkins_kvm-add-azure-cc
Reviewer Review Type Date Requested Status
Philip Roche Approve
Robert C Jennings (community) Approve
Review via email: mp+348835@code.launchpad.net

Commit message

Add a cosmic version of the Azure suite specific template files, img-azure-18.10-addin.tmpl.

Description of the change

Cosmic is missing the azure addin template which defines the package archive URL and should resolve these test failures:

https://cloud-images-jenkins.canonical.com/job/Azure-Tests/1875/TEST=azure-general,VMSIZE=A8,WITH_PASSWORD=yes,label=EC2-Tester/testReport/junit/(root)/BasicAzureTests/test_archive/

To post a comment you must log in.
Revision history for this message
Robert C Jennings (rcj) wrote :

diff to last release to see changes from bionic

Revision history for this message
Robert C Jennings (rcj) wrote :

+1

review: Approve
Revision history for this message
Philip Roche (philroche) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'templates/img-azure-18.10-addin.tmpl'
2--- templates/img-azure-18.10-addin.tmpl 1970-01-01 00:00:00 +0000
3+++ templates/img-azure-18.10-addin.tmpl 2018-07-02 12:55:11 +0000
4@@ -0,0 +1,58 @@
5+# vi: ts=4 noexpandtab syntax=sh
6+# Insert the Cosmic (18.10) Config
7+CLOUD_IMG_STR="# CLOUD_IMG: This file was created/modified by the Cloud Image build process"
8+cat << EOF > ${mp}/etc/default/grub.d/50-cloudimg-settings.cfg
9+# Windows Azure specific grub settings
10+${CLOUD_IMG_STR}
11+
12+# Set the default commandline
13+GRUB_CMDLINE_LINUX_DEFAULT="console=tty1 console=ttyS0 earlyprintk=ttyS0 rootdelay=300"
14+
15+# Set the grub console type
16+GRUB_TERMINAL=serial
17+
18+# Set the serial command
19+GRUB_SERIAL_COMMAND="serial --speed=9600 --unit=0 --word=8 --parity=no --stop=1"
20+
21+# Set the recordfail timeout
22+GRUB_RECORDFAIL_TIMEOUT=0
23+
24+# Do not wait on grub prompt
25+GRUB_TIMEOUT=0
26+EOF
27+
28+# Add in the client keep alive
29+cat << EOF >> "${mp}/etc/ssh/sshd_config"
30+
31+${CLOUD_IMG_STR}
32+ClientAliveInterval 120
33+EOF
34+
35+# Add the configuration for Cloud-init
36+cat << EOF > "${mp}/etc/cloud/cloud.cfg.d/90-azure.cfg"
37+${CLOUD_IMG_STR}
38+system_info:
39+ package_mirrors:
40+ - arches: [i386, amd64]
41+ failsafe:
42+ primary: http://archive.ubuntu.com/ubuntu
43+ security: http://security.ubuntu.com/ubuntu
44+ search:
45+ primary:
46+ - http://azure.archive.ubuntu.com/ubuntu/
47+ security: []
48+ - arches: [armhf, armel, default]
49+ failsafe:
50+ primary: http://ports.ubuntu.com/ubuntu-ports
51+ security: http://ports.ubuntu.com/ubuntu-ports
52+
53+EOF
54+
55+# Frame buffer fix
56+cat << EOF >> "${mp}/etc/initramfs-tools/modules"
57+
58+# Need for slow boot times due to framebuffer
59+hyperv_fb
60+EOF
61+
62+xchroot update-initramfs -u -k all

Subscribers

People subscribed via source and target branches

to all changes: