~rafaelfolco/cirros:master

Last commit made on 2017-03-24
Get this branch:
git clone -b master https://git.launchpad.net/~rafaelfolco/cirros
Only Rafael Folco can upload to this branch. If you are Rafael Folco please log in for upload directions.

Branch merges

Branch information

Name:
master
Repository:
lp:~rafaelfolco/cirros

Recent commits

0770a99... by Scott Moser on 2017-03-24

bin/build-release: cleanup tmpdir for source tarball

812bc97... by Scott Moser on 2017-02-14

bin/mirror-dump-sstream-data: sync with 0.3 branch

142e811... by Scott Moser on 2016-10-07

make disk image (disk.img) contain only /boot.

This removes everything except /boot from a disk.img.
On first boot of the disk image, the loaded initramfs in /boot
will copy itself to the target. Since /boot is not in the initramfs
there is no problem copying to the blank target.

The result of this is a disk1.img file that is much smaller.
for comparison, the output of this local build and the 20160722 daily
for x86_64:
   disk.img 17961472 -> 12846080 (29% saved)
   rootfs.img.gz 16744808 -> 11899176 (29% saved)

If curtin's src/init doesn't find a root filesystem (no /sbin/init) but
does find a filesystem with the right label (cirros-rootfs), then it
copies itself to the target and continues booting as if it were always
there.

src/init now uses search_for_root and search_for_blank to find root
filesystem and blank disk. It would be nice to move the "install"
hunk out of src/init also. We need to improve this too, to deal with
existing files overwriting and such.

a57ce8a... by Scott Moser on 2016-11-04

replace use of perl in encrypt-pass with python3

Probably should just use python here or python3 and ditch the shell
wrapper. But this works for now.

95f4ffa... by Scott Moser on 2016-11-03

Change the password in /etc/shadow to gocubsgo.

Previous commit did not actually change the password, but only added
the tool. This one changes the password.

LP: #1454144

9a7c371... by Scott Moser on 2016-11-03

set default password to 'gocubsgo'

The smiley face was hard or impossible to type in some scenarios.
The new password still pays homage to the Cubs.

Thanks to all those who typed 'cubswin:)' and helped to bring the
Cubs a World Series victory in 2016.

371293d... by Scott Moser on 2016-10-17

bin/grab-grub-efi: fix loop over arches

loop over arch would always try to download something unless
the first arch was without efiarch.

ac9e670... by Scott Moser on 2016-10-17

fix issue in grab scripts with specifying --outdir.

--outdir did not work at all. This fixes --outdir in
  bin/grab-grub-efi
  bin/grab-grub-ieee
  bin/grab-kernels

ba0412d... by Rafael Folco <email address hidden> on 2016-09-21

Add support for Grub2 on Power architectures.

Power bootable qcow2 images require Grub to be installed on a PreP
Boot partition. This patch enables CirrOS to boot from Grub2/PreP.
And, now produces disk images for ppc64, powerpc and ppc64le.

LP: #1620776

e6d30c4... by Scott Moser on 2016-09-19

Return error code for root login via ssh

When user ssh's in as root and sees the 'Please login as cirros'
message, that should exit non-zero.

Here we have arbitrarily picked '43', which is somewhat like 403
which is http redirect.

In my small tests I've found the following return codes:
  255: ssh -o ConnnectTimeout=3 google.com (timeout)
  255: ssh brickies.net (bad auth)
  255: ssh nodomainhere.example.com (host not found)

LP: #1437350