ensure build-custom succeeds
fix image metadata

(cherry picked from commit 99b6392940c5292c6a4d46ecc56ab534900fa3ac)
import nicer kiwi image building script

This comes from

  https://github.com/SUSE/cloud/blob/master/dev-setup/sles11-sp3/build-image.sh

and has some nice improvements from James Tan, including tmpfs support
and cleaner code.

(cherry picked from commit 1bd8b02fcf058075a788617745d2814848e94d3f)
try to fix rm: cannot remove ‘/tmp/kiwi-build’: Device or resource busy

(cherry picked from commit 018e401fe297cab83072e95837da7dd0d16996bd)
only attempt to umount $TMP_DIR if it was tmpfs

(cherry picked from commit 053f1cf25af8d7bbcb083d4be7327ac0fe49fcac)
don't hide failure of rm -rf $TMP_DIR

(cherry picked from commit 5661b2d80d713c3f7fcaa00bf1cbceaaf0ef754b)
fix self-description in build-image.sh

(cherry picked from commit 92e479c2bd681eee9f86308066939907f77c0eb7)
only clean up if the build succeeded

(cherry picked from commit 39fd0374d31493e0953e8e82a66d4522b46d5ffa)
remove old author

(cherry picked from commit 3f7b8522c2c873c8fd23f5373a94fe95b9866627)
remove EULA on first boot

(cherry picked from commit dfa639f9f06bc51422dd2251131260be165ab3c5)
autostart ntp and sshd

(cherry picked from commit c556419761bdb3e4b7c3da1aef020f236ed86fdd)
the RAM disk needs at least 6.5GB

... and that's without the software repositories embedded.

(cherry picked from commit 91f9fafbaac7ecd94d22f05fba523991b4020d07)
allow passing parameters to kiwi (e.g. --type)

(cherry picked from commit 0ed184569cd400a6c23f2e1a97f062d52f893ca3)
switch to .vmdk for virtualbox

(cherry picked from commit 1de2b293e0f2e822f9e3cfb929ad02c1bd226f2f)
fix network settings for VirtualBox

First adapter *has* to be NAT:

  https://github.com/mitchellh/vagrant/issues/3619

and AFAICS DHCP is required too.

(cherry picked from commit 4ba63b8e04ddd34c2e7c48410a0937d3162568fe
and ifcfg-eth1 dropped)
add vagrant user

(cherry picked from commit 0bf168b3b6b1872c6898ce1d35885b8b01129901)
add vagrant public ssh key

(cherry picked from commit 42f6b2077694aea37df4bcf71b85b5daff54dc10)
add vagrant to /etc/sudoers

(cherry picked from commit ac235bc28852b3a5de983f96c9d69a5830b1cc8f)
disable UseDNS in sshd

(cherry picked from commit b13217d620365f048dfc1fbaa380362917b6b95f)
tweak LESS

(cherry picked from commit e17e52f80a68d80d6df4fbe4a71231d3535008ba)