Skip to content

Instantly share code, notes, and snippets.

Swapnil Patil swapnilpatil1682

View GitHub Profile
View Important DevOps Tutorials
Prometheus :
Basic introduction with practical :
https://www.youtube.com/watch?v=PDxcEzu62jk
View PACKER_LOG=1 packer build template.json
$ PACKER_LOG=1 packer build -only=virtualbox-ovf template.json
2017/10/24 11:24:31 [INFO] Packer version: 1.1.1
2017/10/24 11:24:31 Packer Target OS/Arch: linux amd64
2017/10/24 11:24:31 Built with Go Version: go1.9
2017/10/24 11:24:31 Detected home directory from env var: /home/deepak
2017/10/24 11:24:31 Using internal plugin for hyperv-iso
2017/10/24 11:24:31 Using internal plugin for vmware-vmx
2017/10/24 11:24:31 Using internal plugin for alicloud-ecs
2017/10/24 11:24:31 Using internal plugin for amazon-ebsvolume
2017/10/24 11:24:31 Using internal plugin for lxd
View template.json
{
"provisioners": [
{
"type":"file",
"source":"/var/lib/jenkins/workspace/XSuite-XConfig/xconfig-release/target/xconfig-release-1.0.0-SNAPSHOT.tar.gz",
"destination":"/tmp/"
},
{
"type":"file",
"source":"/var/lib/jenkins/workspace/XSuite-XConfig/xconfig-ambari/target/xconfig-ambari-1.0.0-SNAPSHOT.tar.gz",
View gist:f4f01a680e50b4cd6294363eb30d77bd
administrator@portal:~$ sudo docker run \
> --rm -p 680:80 -p 6443:443 -p 622:22 \
> --env PHABRICATOR_HOST=phabricator.xxxxxx \
> --env MYSQL_HOST=172.17.0.2 \
> --env MYSQL_USER=admin \
> --env MYSQL_PASS=admin \
> --env PHABRICATOR_REPOSITORY_PATH=/repos \
> -v /home/administrator/phab_repo_backup:/repos \
> --env PHABRICATOR_HOST_KEYS_PATH=/hostkeys/persisted \
> -v /home/administrator/phab_ssh_keys:/hostkeys \
View gist:87a67225bc62d84a140a692f5984db90
administrator@portal:~$ sudo docker run \
> --rm -p 580:80 -p 5443:443 -p 522:22 \
> --env PHABRICATOR_HOST=phabricator.xxxxxx \
> --env MYSQL_HOST=172.17.0.2 \
> --env MYSQL_USER=admin \
> --env MYSQL_PASS=admin \
> --env PHABRICATOR_REPOSITORY_PATH=/repos \
> -v /home/administrator/phab_repo_backup:/repos \
> --env PHABRICATOR_HOST_KEYS_PATH=/hostkeys/persisted \
> -v /home/administrator/phab_ssh_keys:/hostkeys \
You can’t perform that action at this time.