Adam Stokes
4a878baa21
Merge pull request #82 from CanonicalLtd/patch-add-default-route
...
Add default gateway support
2015-10-08 17:27:48 -04:00
Adam Stokes
19c2d5a3b7
Add default gateway support
...
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-10-08 17:26:58 -04:00
Adam Stokes
d2f65e72b3
Merge pull request #81 from CanonicalLtd/drop_jinja2_use
...
Drop jinja2 use
2015-10-08 16:45:21 -04:00
Ryan Harper
954b1d76fc
Drop jinja2 use
...
We no longer use the jinja2 template file. Drop its use and the deps.
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-10-08 15:12:07 -05:00
Adam Stokes
c9355e8433
Edit manual default route inline
...
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-10-08 16:11:53 -04:00
Adam Stokes
8a9b38fb7d
Merge pull request #65 from CanonicalLtd/find_curtin
...
Dynamically find path to curtin and install source
2015-10-07 00:14:35 -04:00
Ryan Harper
3ac50f6f83
Dynamically find path to curtin and install source
...
subiquity may invoke curtin either from an embedded location
or from /usr/bin depending on how curtin was installed into the
running system. Check for the right location depending on what
files are found on the filesystem.
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-10-06 22:09:08 -05:00
Adam Stokes
4494bcb6ca
Merge pull request #60 from CanonicalLtd/geninstaller_find_source
...
Geninstaller find source
2015-09-30 16:10:46 -04:00
Ryan Harper
8cb8eddb19
geninstaller: try a bit harder to tar up subiquity installer
...
Subshell cd to source dir was silently failing. Instead use
tar -C and add an additional check on that we did generate
a subiquity tarball for the installer image.
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-09-30 14:19:02 -05:00
Ryan Harper
f59187b290
runinstaller: Add format= qemu command
...
qemu doesn't like to probe formats, specify raw.
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-09-30 14:02:50 -05:00
Ryan Harper
095d6b0644
Add info on how to enable multiverse for UEFI support
...
UEFI mode testing in VMs requires package from Multiverse:
ovmf (license issue)
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-09-30 14:01:17 -05:00
Ryan Harper
ac3fd86bb5
Remove offline mode for installer
...
Make offline mode default. We always want to
install the packages required to run the installer in the
image we generate.
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-09-30 12:58:11 -05:00
Ryan Harper
1ec30081f7
fix string assignment in runinstaller variable
...
Assign package string to variable correctly.
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-09-30 12:49:06 -05:00
Ryan Harper
a5e14bcad9
Always make subiquity-tui available in /usr/local/bin
...
The subiquity service always expects subiquity-tui to be in
/usr/local/bin.
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-09-30 12:48:21 -05:00
Ryan Harper
6fe10c0a1a
Make sure we tar up either in-tree or installed subuiquity source
...
We want geninstaller to acquire the subiquity source from either
the in-tree directories, or if running installed from a deb, the
path where it was installed.
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-09-30 12:44:36 -05:00
Adam Stokes
55f1c30b24
Merge pull request #59 from CanonicalLtd/sign_deb_src_release
...
Change dpkg-build flags to sign source deb
2015-09-30 11:01:35 -04:00
Ryan Harper
8d7e9aca48
Change dpkg-build flags to sign source deb
...
Don't include -us -uc when creating deb source and dpkg will
actually sign the source package.
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-09-30 09:57:49 -05:00
Adam Stokes
5102f943a7
Update README.md
...
Small typo that stood out because of the heading :)
2015-09-29 20:34:45 -04:00
raharper
8dd720eee8
Merge pull request #58 from CanonicalLtd/fix-runinstaller
...
Fix runinstaller to work after installed
2015-09-29 16:24:00 -05:00
raharper
349edfc7f5
Merge pull request #57 from CanonicalLtd/fix-show-disk-info
...
Fix is_root check on sudo
2015-09-29 16:23:42 -05:00
raharper
3dc2af13da
Merge pull request #56 from CanonicalLtd/fix-tui-rename
...
Unbreak make and installer script with subiquity-tui rename
2015-09-29 16:23:28 -05:00
Ryan Harper
aef1858e69
Unbreak make and installer script with subiquity-tui rename
...
After renaming bin/subiquity to bin/subiquity-tui we broke a
few things that invoked subiquity via bin/subiquity which is
now bin/subiquity-tui
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-09-29 16:17:00 -05:00
Ryan Harper
ce133c6b06
Fix is_root check on sudo
...
Add debugging and logging for is_root check.
Fix up logic so we check if sudo_user is non None
Now we can see disk info when running as root in the installer.
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-09-29 16:15:14 -05:00
Ryan Harper
141066c786
Fix runinstaller to work after installed
...
Cleanup runinstaller to be usable after install via package.
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-09-29 15:55:07 -05:00
raharper
176e3727bc
Merge pull request #55 from CanonicalLtd/fix-geninstaller-path
...
Fix geninstaller to be runnable outside of source tree
2015-09-29 09:59:30 -05:00
Ryan Harper
8b228d05a8
Fix geninstaller to be runnable outside of source tree
...
geninstaller, which is installed as /usr/bin/subiquity-geninstaller
needed some changes to allow it to run outside of the build tree.
Quieted the output from geninstaller a lot and redirect the verbosity
into the log file.
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-09-29 09:56:47 -05:00
raharper
d4f8394123
Merge pull request #54 from CanonicalLtd/documentation_v1
...
Update documentation on using subiquity
2015-09-29 09:10:13 -05:00
Ryan Harper
8342a654ae
Update documentation on using subiquity
...
Expand on how to get and use subiquity.
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-09-28 15:02:51 -05:00
Adam Stokes
d488a9d1fa
Dont let setuptools manage scripts
...
We handle our scripts through the Debian packaging.
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-09-28 14:42:19 -04:00
Adam Stokes
80ca9c1cae
Merge pull request #52 from CanonicalLtd/fix-avail-disk-view
...
Don't display mounted disks except during dry-run
2015-09-28 14:04:54 -04:00
Adam Stokes
d4aad9fab0
Merge pull request #51 from CanonicalLtd/switch-to-packages
...
Switch to packages
2015-09-28 14:04:48 -04:00
Ryan Harper
f5aff668c5
Don't display mounted disks except during dry-run
...
Enhance our mounted disk detection. Don't display these
devices unless we're in dry-run mode. Add support for
the case where we don't have any disks and prevent
the installer from progressing.
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-09-28 11:28:26 -05:00
Adam Stokes
b16374fa8e
Rename to subiquity-tui for package install
...
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-09-28 11:20:22 -04:00
Adam Stokes
a4f8bc9cf4
Merge pull request #50 from CanonicalLtd/patch-password-validate
...
Add password match validator
2015-09-28 11:05:55 -04:00
Adam Stokes
c6628911d4
Add password match validator
...
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-09-28 11:03:01 -04:00
Adam Stokes
b97e51d70a
Merge pull request #49 from CanonicalLtd/patch-is_root-hdparm
...
Checks if run as root before accessing hdparm
2015-09-28 10:49:54 -04:00
Adam Stokes
b0f7e29cde
Checks if run as root before accessing hdparm
...
Fixes #46
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-09-28 10:45:54 -04:00
Ryan Harper
23d644037a
Switch to single overlay dir
...
Instead of tracking many directories, we'll use only one
overlay directory to hold any scripts or change we want to
see applied over the base image.
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-09-28 09:01:46 -05:00
Ryan Harper
4f344714f9
Use probert package from subiquity-dev ppa
...
Use the packaged version of probert.
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-09-28 09:01:46 -05:00
Adam Stokes
3bb2a79c2e
Merge pull request #45 from CanonicalLtd/patch-queue-async
...
Add progress show final bits
2015-09-25 16:08:12 -04:00
Adam Stokes
1a938adc59
Add reboot button on finish
...
Minor cosmetics tweak to our friend kirby
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-09-25 15:57:29 -04:00
Adam Stokes
acec68667c
Add progress show final bits
...
Run's curtin in the background while showing a simple
wait box and prompts once complete.
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-09-24 22:30:04 -04:00
Adam Stokes
e0f2809019
fix flake error
...
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-09-24 15:45:00 -04:00
Adam Stokes
667fefb90f
py3 - return result from yield
...
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-09-24 08:57:35 -04:00
Adam Stokes
ec60674b9a
Comment out some menu items
...
For alpha release we comment out the menu items
that are not yet supported by curtin.
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-09-24 08:53:15 -04:00
raharper
69f010a3e4
Merge pull request #44 from CanonicalLtd/switch_to_efi_default
...
Switch to efi default
2015-09-23 10:08:56 -05:00
Ryan Harper
46974cf398
Update comments on overlayfs check
...
Expand on overlayfs version check.
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-09-23 09:49:24 -05:00
Ryan Harper
79f072ec43
geninstaller: Check overlayfs module version instead of Ubuntu release
...
overlayfs changed mount options between different kernel versions.
In some cases, an Ubuntu release may have a different kernel than
what was included during the release, so instead use the version
included in the module itself to determine what parameters to pass
when mounting.
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-09-23 09:46:22 -05:00
Ryan Harper
5f424963dc
Add efi deps to installer/geninstaller
...
geninstaller should ensure it has all of the packages it needs to build.
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-09-23 09:22:28 -05:00
Ryan Harper
7501e26fac
Makefile: Spell ovmf correctly
...
Fix package name thinko in Makefile
Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-09-22 22:23:04 -05:00