Category: Posts

How to get iso of vmware tools for infrastructure automation

Installation of vmware tools in vmware exsi based machines are pretty straight forward. We see a notification if a vm is missing one and by clicking the install vmware tools, it auto mounts the installer. However, what if we need the iso file for automation? For example, I have been trying to explore packer for […]

Interpolation-only expressions are deprecated warning during terraform init

So I have been trying to explore Infrastructure as Code in my spare time and while trying out terraform I get this warning: Warning: Interpolation-only expressions are deprecated on main.tf line 40, in resource “vsphere_virtual_machine” “vm”: 40: resource_pool_id = “${data.vsphere_resource_pool.pool.id}” Seems like post version 0.11, resource declaration doesn’t need special syntax i.e. ${} which was […]

Useful resources in the magic world called Internet

Mount windows shares in centos https://wiki.centos.org/TipsAndTricks/WindowsShares Backup and restore gitlab server https://docs.gitlab.com/ce/raketasks/backup_restore.html#storing-configuration-files Cleanup gitlab server https://docs.gitlab.com/12.7/ee/raketasks/cleanup.html Load Computing in Linux https://en.wikipedia.org/wiki/Load_(computing) Powershell process commandlet https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-process?view=powershell-7 Add domain users to local administrators https://thesysadminchannel.com/add-local-administrators-via-gpo-group-policy/ http://www.pwrusr.com/system-administration/3-ways-to-grant-local-admin-permissions-to-domain-users All about wsus https://community.spiceworks.com/how_to/625-wsus-step-by-step

Setup environment for python

Anaconda Installation For the installation, follow the link below:https://docs.anaconda.com/anaconda/install After completing the installation, To control whether or not each shell session has the base environment activated or not, run  $ conda config –set auto_activate_base False or True To run conda from anywhere without having the base environment activated by default, use  conda config –set auto_activate_base False This only works if you have run conda init first. To […]