Age | Commit message (Collapse) | Author |
|
Related to "T157: Remove "install system" command".
|
|
|
|
|
|
|
|
applies to
fix for 8350 - Install allows installation with empty password
|
|
Don't allow default password to persist after first boot.
Due to the numerous ways a user can get a vyatta system this required
a lot of changes.
1. Don't allow a user to set a password to 'vyatta' after first login,
but allow it on the initial boot otherwise the system will have no
user.
2. Don't allow the password to be set to vyatta in installer.
3. Force password change on first login. under the following
conditions:
3.a. User is an admin level user. Operators do not have the abillity
to change the config so they can't change passwords. Allow 'vyatta' to
be the password until an admin logs in.
3.b. This is not the livecd, its silly to force a password change
before install.
|
|
In oxnard our Xen images used ext3 without write barriers. This patch is
a workaround for bug 8303. The goal of this patch is to provide a workable
solution that is no worse than our previous behavior until Xenserver has
the write barrier fix available in Xen integrated.
|
|
This reverts commit f344e975d1b0eb489af7fb2d2f22168bc465b1de.
|
|
|
|
Some statements were copy/pasted over from install-image.
install-system does not use lecho, that is only used in install-image
|
|
Bug 7732
Restore installation section that makes disk label.
|
|
Better than using parted which requires more parsing.
|
|
Don't start RAID (md) unless root device is configured for RAID.
|
|
|
|
On tiny disks, then it doesn't make sense to waste space by offsetting
root partition. On big disks, it doesn't hurt and it allows for running
on SSD.
|
|
Parted has magic value '0%' which causes it to choose optimum
alignment (2048 on most disks).
|
|
Redo Bug 7038
The previous change did nothing; the alignment option only reports
alignment, it does not change values. Need to manually reserve space
before root partition.
|
|
Bug 7038
Align the created disk partition for both install-system and initial
install-image.
Note: can't fix existing systems where disk is already partitioned.
They will just have to suffer with poor performance.
|
|
(cherry picked from commit 5de8a194db56c51c9e5541cca43423f11534ffb7)
|
|
The progress bar for copy files is nice but slows down the install
because it updates too often
|
|
|
|
The -z test in shell needs to be quoted to avoid issues
with shell expansion.
|
|
Add common shell function to convert to lower case.
Part of Bug 6132
|
|
If old image config is not being saved, the filesystem (/mnt/tmp)
which caused next step (mkfs) to fail.
|
|
Better to show real progress than simple spinning wheel.
|
|
|
|
Bug 5443
When running on HyperV, install-system appeared to hang because
although hda existed, it had no information so parted was prompting
for retry. Use the -s flag (never prompt) at all the places
in install-system/install-image where we don't want to have
user interaction.
|
|
|
|
The install-image program knows how to preserve the config files from
a previous image or disk-based installation. The install-system
program already knew how to preserve config files from a previous
disk-based installation. This change teaches it how to preserve
config files from a previous image installation.
|
|
|
|
The frame-buffer allows for Vyatta logo, scrollback, and more lines of text
on VGA console.
|
|
It avoids issues with corrupt filesystems on VM.
|
|
Bug 5045
This adds option to save original SSH host keys when doing a re-install.
Also mount original partition read-only to avoid updating it.
|
|
|
|
|
|
Need to check for livecd only if *not* doing union install.
Repair of previous bugfix.
|
|
Check for install-system failure (because of attempt to install
from active system), to occur before filesystem is destroyed.
Bug 1587
|
|
|
|
|
|
|
|
The MBR provides a flag on each of the partitions to indicate whether it
is "bootable" or not. Most BIOS implementations ignore this flag and
will boot from a partition whether or not this flag is set. Some BIOS
implementations, however, refuse to boot from a partition that is not marked
as "bootable". This fix marks the partition that holds the root filesystem
as "bootable" so that it can be booted by either type of BIOS.
|
|
* set up start-up config and /var/run.
* pass writable root to postinst hook for union-specific tasks.
|
|
|
|
|
|
|
|
On small disks use ext2 to avoid the extra writes wearing out flash
prematurely.
Bug 4149 and 3969
|
|
/proc/ide doesn't exist in all configs, and it doesn't work correctly
with KVM and other buggy virtualized ide.
|
|
In virtualized environment virtio block device is vda
|
|
|
|
|