Monthly Archives: September 2015

The box you’re attempting to add doesn’t support the provider you requested

vagrant init serveit/centos-7; vagrant up –provider virtualbox

Error:

=> default: Loading metadata for box ‘serveit/centos-7’
default: URL: https://atlas.hashicorp.com/serveit/centos-7
The box you’re attempting to add doesn’t support the provider
you requested. Please find an alternate box or use an alternate
provider. Double-check your requested provider to verify you didn’t
simply misspell it.

If you’re adding a box from HashiCorp’s Atlas, make sure the box is
released.

Name: serveit/centos-7
Address: https://atlas.hashicorp.com/serveit/centos-7
Requested provider: [:virtualbox]

Fix:

vagrant init jayunit100/centos7; vagrant up –provider virtualbox

coovachilli

CoovaChilli is a feature rich software access controller that provides a captive portal / walled-garden environment and uses RADIUS or a HTTP protocol for access provisioning and accounting. CoovaChilli is an integral part of the CoovaAP OpenWRT-based firmware which is specialized for hotspots. For more information on how Coova’s Chilli differs from the standard ChilliSpot.

kdialog

choice=$(kdialog --checklist "CHOOSE ONE OR ALL
OS:" 1 "LINUX" on 2 "WINDOWS" off 3 "UNIX" off);

case "$?" in
0)
kdialog --msgbox "$choice";
;;
1)
kdialog --sorry "YOU CHOSE CANCEL";
;;
*)
kdialog --error "ERROR";
;;
esac;

esxi get partition list using esxcli

esxcli –server xx.xx.xx.xx –username root –password ‘xxxxxxxxxx’ system coredump partition list
Name Path Active Configured
————————————– ———————————————————- —— ———-
naa.600508e0000000007578aa98b9874c03:7 /vmfs/devices/disks/naa.600508e0000000007578aa98b9874c03:7 false false
naa.600508e0000000007578aa98b9874c03:9 /vmfs/devices/disks/naa.600508e0000000007578aa98b9874c03:9 true true

lsyncd

yum install -y lsyncd

Lsyncd watches a local directory trees event monitor interface (inotify or fsevents). It aggregates and combines events for a few seconds and then spawns one (or more) process(es) to synchronize the changes. By default this is rsync. Lsyncd is thus a light-weight live mirror solution that is comparatively easy to install not requiring new filesystems or blockdevices and does not hamper local filesystem performance.

Rsync+ssh is an advanced action configuration that uses a SSH to act file and directory moves directly on the target instead of retransmitting the move destination over the wire.