3025 Commits

Author SHA1 Message Date
Michael Hudson-Doyle
1676147a84 add some dhcp-on-wired-looking-things default netplan for the server live image 2017-09-11 23:24:30 +12:00
Colin Watson
6a42148b22 Mount and unmount /dev recursively, to cope with setups where there are
interesting bind-mounts under /dev (e.g. loop devices bind-mounted by
LXD).
2017-09-08 11:48:06 +01:00
Adam Conrad
ee344f1d1a Add changelog entry for previous commit 2017-09-01 10:54:50 -06:00
Adam Conrad
fc48e02c37 [tribaal, r=adconrad] Create vagrant user per upstream requirements
This branch changes the behavior for default users on the vagrant image,
according to much of https://www.vagrantup.com/docs/boxes/base.html

Specifically, this adds a new "vagrant" user with a know password on top
of the already existing ubuntu user.

This conforms to the expectations of the Vagrant community, despite some
security concerns. Vagrant images are not used for production systems but
for development environments, and the absence of the "standard" vagrant user
has been hurting ubuntu adoption on that platform.
2017-09-01 10:50:32 -06:00
Christopher Glass
f10cd80ebb Make sure the .ssh directory has the right permissions. 2017-09-01 18:25:41 +02:00
Christopher Glass
e798276910 Fixed review comments by Adam.
- use adduser instead of useradd.
2017-09-01 18:21:53 +02:00
Steve Langasek
7d0503d212 releasing package livecd-rootfs version 2.452 2.452 2017-08-30 08:10:13 -07:00
Steve Langasek
c78c2f91ea Merge lp:~rbalint/livecd-rootfs/fix-suppressing-kpartx-error 2017-08-30 08:10:04 -07:00
Balint Reczey
4d72521491 Fix suppressing kpartx error 2017-08-30 16:46:47 +02:00
Christopher Glass
3d901daef4 Fix file permission problem - the authorized_keys file was still owned by root since the chown call came before its creation. 2017-08-29 16:27:03 +02:00
Balint Reczey
9ecbce203c Start working on next upload 2017-08-29 16:19:04 +02:00
Christopher Glass
e6fd2b657e Remove ubuntu user customisations.
Let's just do the absolute minimum here, the default is what people expect.
2017-08-29 09:23:33 +02:00
Gary.Wzl
eb76178ab5 Support to only generate rootfs via variable (GENERATE_ROOTFS_ONLY). 2017-08-28 15:14:54 +08:00
Gary.Wzl
84da578380 Add IMAGETYPE to support classic image creation by ubuntu-image. 2017-08-28 11:24:51 +08:00
Steve Langasek
5c1b9f5c5c releasing package livecd-rootfs version 2.451 2.451 2017-08-25 14:28:47 -07:00
Steve Langasek
62c7528416 add changelog entry 2017-08-25 14:28:41 -07:00
Steve Langasek
b1432b36be Don't reference dropped grub_modules variable in grub-install command 2017-08-25 11:18:19 -07:00
Christopher Glass
87f34122fb Remove useless diff. 2017-08-25 17:02:52 +02:00
Christopher Glass
97c8996c29 Remove the useless user and password from default config. 2017-08-25 16:57:36 +02:00
Christopher Glass
72dbb4c75d Added comments. 2017-08-25 13:19:21 +02:00
Christopher Glass
467b8c9c06 Reset the default SSH user to being vagrant.
Using "vagrant ssh" is confusing otherwise.
2017-08-25 12:59:53 +02:00
Christopher Glass
1cc6041cd6 Remove root login. Ubuntu user keeps generated password. 2017-08-25 12:05:29 +02:00
Christopher Glass
b9363e97fb Explicitely permit passworded root login over SSH. 2017-08-25 08:37:18 +02:00
Christopher Glass
c0730ef6f6 Fix typo in variable name. 2017-08-24 21:19:30 +02:00
Christopher Glass
cc8a6e2709 Turns out the user adding should be done when the chroot is available... 2017-08-24 19:17:17 +02:00
Steve Langasek
a6ef49ccd8 releasing package livecd-rootfs version 2.450 2.450 2017-08-23 17:27:58 -07:00
Steve Langasek
33918809c9 add changelog entry 2017-08-23 17:27:52 -07:00
Steve Langasek
994fdc8a57 Merge lp:~cyphermox/livecd-rootfs/grub-modules 2017-08-23 17:26:22 -07:00
Mathieu Trudel-Lapierre
563abee702 Drop special handling of grub modules, adding a note. Modules should be included in the signed grub binaries when necessary. 2017-08-23 20:23:32 -04:00
Mathieu Trudel-Lapierre
869bb9808a Clean up GRUB_MODULES_PRELOAD / grub_modules. Remove the modules already loaded in stock signed grub EFI binaries. 2017-08-23 19:25:12 -04:00
Christopher Glass
5442860c14 Added a "vagrant" user to the vagrant image build, as per the vagrant community's
expectations.
2017-08-21 11:09:18 +02:00
Dimitri John Ledkov
bec201601d Set a default locale of C.UTF-8 in the cloud images. 2017-08-18 09:12:22 +01:00
Steve Langasek
406c58d72b Merge lp:~vorlon/livecd-rootfs/locale 2017-08-17 08:54:17 -07:00
Steve Langasek
8aadf2c73d Set a default locale of C.UTF-8 in the cloud images. 2017-08-16 16:32:27 -07:00
Dimitri John Ledkov
e94b04b0e0 releasing package livecd-rootfs version 2.449 2.449 2017-08-14 17:03:02 +01:00
Dimitri John Ledkov
55508d96f7 Drop creating upstart jobs for serial getty. 2017-08-14 17:02:01 +01:00
Dimitri John Ledkov
4f0e9c286c Drop add_serial_console for upstart. 2017-08-11 14:51:51 -04:00
Steve Langasek
6e4308be65 Merge lp:~rbalint/livecd-rootfs/vmdkstream-by-module 2017-07-24 15:01:43 -07:00
Balint Reczey
3b37842219 Use VMDKstream in a more future-proof way 2017-07-24 20:46:51 +02:00
Brian Murray
c1bc88e7ce releasing package livecd-rootfs version 2.448 2.448 2017-07-24 11:34:10 -07:00
Brian Murray
9baa0d07bc live-build/functions: Update path for VMDKstream.py (LP: #1706116) 2017-07-24 11:04:26 -07:00
Robert C Jennings
f05a8a238f live-build/functions: Update path for VMDKstream.py
LP: #1706116
2017-07-24 19:20:21 +02:00
Steve Langasek
a8a6d208f6 Merge lp:~rbalint/livecd-rootfs/xz 2017-06-30 13:19:11 -07:00
Balint Reczey
cfda7d20bd Use xz -T4 -0 instead of pxz
Test showed very little difference in file-size between -0 and -9 while
both compression and decompression need much less memory and compression
needs less CPU time for -0.

Supported xz versions before 5.2 also accept the -T4 option but ignore it.

Also depend on xz-utils instead of on pxz.

LP: #1701132
2017-06-30 12:22:29 +02:00
Mathieu Trudel-Lapierre
726e6192e0 auto/config: enable Debug::pkgDepCache::AutoInstall so tracking down
dependency bugs in the livefs is a little clearer.
2017-06-23 14:23:53 -04:00
Steve Langasek
926b22a834 Merge lp:~rbalint/livecd-rootfs/deps 2017-06-15 23:46:40 -07:00
Steve Langasek
9900a84214 releasing package livecd-rootfs version 2.447 2.447 2017-06-15 23:36:46 -07:00
Steve Langasek
23d9db863e Add cm3 as a known ubuntu-core image type. LP: #1698223. 2017-06-15 23:36:42 -07:00
Balint Reczey
0bee1ec424 Update changelog 2017-06-14 18:26:22 +02:00
Balint Reczey
6c9cf10d72 Depend on pxz and vmdk-stream-converter instead of installing them at runtime 2017-06-14 18:25:15 +02:00