I have been hitting the wall for few hours, but could not figure out how to do the following:
I have been running VC 6.1 fine on my ESXi 4.1, but had to upgrade ESXi to version 5.0. then problems arise, because I was able to upgrade all VMWare Tools on all machines, except on Vyatta 6.1 (linux-headers problems).
Ok, let's go another way.
I grabbed VC 6.2 LIVE CD, and installed new virtual machine (image-install).
Because I have hundreds of rules (config.boot = 39kB), AND mostly because Vyatta's function to show configuration as set of config commands does NOT work (I only get first hundred or so commands, others are lost), so I decided to simply:
- get old config.boot from VC 6.1
- copy it to VC 6.2
- adjust MAC addresses and encrypted passwords
- save new config.boot
- reboot and...I should get running system
- Login into new VC6.2 as "vyatta"user
- changed to root "sudo su root"
- typed "configure"
- went to directory "cd /opt/vyatta/etc/config/"
- edited file with "vi config.boot"
- pasted whole old config.boot file from old VC6.1
- changed MAC addresses and passwords
- saved from vi editor ":wq"
- checked, if config.boot is proper size and permissions:
-rw-rw---- 1 root vyattacfg 39786 Mar 21 02:31 config.boot
- "exit" to end configure session
But PROBLEM: New VC 6.2 does not want to boot with old config file. It always creates a new one, with just basic config in /opt/vyatta/etc/config/config.boot
Any idea what am I missing?
...and if it is the right way to do?