Age | Commit message (Collapse) | Author |
|
Bug 7732
Restore installation section that makes disk label.
|
|
sfdisk is simpler, and safer for getting disk size. It doesn't
require as much screen scraping and doesn't need disk label.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Don't start RAID (md) unless root device is configured for RAID.
|
|
This fix solves the problem with indirection. We introduce a symlink
in /live/image/boot pointing to the current default system image. The
pygrub config file in /boot/grub/menu.lst points to the kernel and
initrd files in the default image by using this symlink in the
pathname.
Every time we add, delete or change the default system image, we need
to change this symlink to point to the new default image.
|
|
Previously, the install-image program was adding a line to
/etc/inittab in the image being installed. This change adds a console
entry to the Vyatta config file instead. Because of that entry, the
system automatically generates a console entry for hvc0 in
/etc/inittab at boot time.
I also removed the code in install-image that added a line to
/etc/fstab to mount /proc/xen. This is no longer necessary because
the /etc/init.d/xe-linux-distribution startup script now mounts
/proc/xen.
|
|
|
|
Previously, the user could only select the running config file, which
includes any changes the user may have made and saved, plus system
generated changes such as the MAC addresses of ethernet interfaces.
This change allows them to select that file or the system's default
config file.
|
|
(cherry picked from commit d891558527fdc077b8c0b37c24cb8b17a2ae7043)
|
|
|
|
In order to allow username and password parameters in the
corresponding op mode command, we allow username and password to be
specified on the install-image command line.
|
|
|
|
/opt/vyatta/etc/config
|
|
|
|
|
|
Need to pass correct offset for start of root partition
|
|
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 -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
|
|
|
|
|
|
(cherry picked from commit 71b716b7f5e5df1dd4ea6e8a16c7f987381cab8c)
|
|
|
|
Want to preserve labels and other attributes
|
|
In URL mode, we now check for a digital signature file. If one
exists, we'll try to download it and check the signature.
|
|
Now we ask the user what they would like to name an image when
they are installing. The default answer is the same string used previously:
The Vyatta version string.
|
|
|
|
|
|
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 name of a system image is supposed to match the Vyatta version
string. Previously, the install-image script determined the name of
the image being installed by parsing a field in the Vyatta version
file on the image being installed. But the format of that file has
changed, and may change again the future, so it is not a good source
of the Vyatta version string. The most accurate way to determine the
Vyatta version string is to look up the debian package version string
associated with the vyatta-version package on the image being
installed. This changes the install-image script to get the system
image name that way.
(cherry picked from commit e1864411c77e688b1b67de40441550b1f1eba055)
|
|
|
|
(cherry picked from commit 5ea1d90dbe42b0eefbc222b98b9b357b5676cb8b)
|
|
|
|
On image-based systems, the Vyatta configuration is mounted on /config and
can be found in the disk filesystem under
/boot/<image-name>/live-rw/config.
|
|
|
|
|