Tuesday, February 24, 2015

View database output in tabular format

mysql -u root -p 
 
mysql>\P less -S

Monday, February 16, 2015

Windows 8 and Windows 2012 rebooting issue on Proxmox VM

When you boot any VM and try to install Windows 8 or Windows 2012, the VMs will go into a continuous reboot. This is due to the missing CPU flag settings.

To fix this issue modify the VM configuration file of the VM

cd /etc/pve/qemu-server
vi 106.conf  ( Assuming 106.conf is the VM on which you are installing Win8 or Win2012)

balloon: 1024
bootdisk: ide0
cores: 2
args: -cpu qemu64,+sep,+cx16,+lahf_lm
ide0: PROXMOX6_VMVOL:106/vm-106-disk-1.qcow2,format=qcow2,size=32G
ide2: ISO:iso/Windows_8.1_x64.iso,media=cdrom,size=5227698K
memory: 2048
name: OPSI-Windows8
net0: virtio=DA:3B:63:57:3C:6F,bridge=vmbr0,tag=103
ostype: other
sockets: 1