Age | Commit message (Collapse) | Author |
|
do AWS-specific things.
|
|
|
|
|
|
|
|
|
|
|
|
upgrading to newer version of debian.
|
|
The init script was not running on boot because the init script
symlinks were not created in /etc/rcX.d for the runlevels: 2,3,4,5.
This fix runs the update-rc.d command in the is_amazon_ec2_ami
function, thus creating the required symlinks and also updating
/etc/init.d/.depends.on.start.
|
|
- grub.cfg is now correctly modified when installing on a VyOS AMI
- ec2-fetch-ssh-public-key init script still needs to be activated
if installing on a VyOS AMI. This is an outstanding issue which
needs to be addressed. See debian/vyatta-cfg-system.postinst.in.
|
|
- Check if installing on AWS EC2 platform via instance metadata.
- Configure GRUB correctly, so that boot messages are available
via instance's console.
- Add init.d script to fetch user's EC2 public key during boot.
|
|
|
|
|
|
As we are no longer setting the ROOT_OFFSET based on disk size,
I have removed the ROOT_OFFSET variable and the set_root_fstype
function.
|
|
The current parted command does not align the root partition as desired
by the `--align optimal` option. This is evident from this parted message:
"Warning: The resulting partition is not properly aligned for best performance."
Instead of setting the ROOT_OFFSET=64S or ROOT_OFFSET=1024S (> 10GB) we should
set it to 0%. This will result in optimal alignment regardless of disk size.
Source: https://unix.stackexchange.com/a/49274
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
During an image add, the default used to be to not save the current
configuration and continue with adding the image. Now the default is
to not continue.
Fixes bug 7964.
|
|
|
|
|
|
Bug 7544
Found several misspellings in the install prompts.
|
|
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
|
|
|