Skip to content

Instantly share code, notes, and snippets.

View spigell's full-sized avatar
🎯
Focusing

spigell

🎯
Focusing
View GitHub Profile
1) с vagrant_id
[spigell@hammerhead ~]$ sparrowdo --verbose --vagrant_id=7671ea9
exporting ssh configuration from vagrant machine (id 7671ea9)
ssh -o ConnectionAttempts=1 -o ConnectTimeout=5 -F /tmp/ssh_config -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -tt vagrant "sudo sh -c 'export LC_ALL=C ; export GIT_PROTOCOL=https ; export PERL_USE_UNSAFE_INC=1 ; export PATH=/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/local/bin:/usr/sbin/:/sbin/:/bin/:$PATH ; export SPARROW_ROOT=/opt/sparrow ; export SPARROW_CONF_PATH=/opt/sparrow/sparrow-cache/sparrow.yaml ; export OUTTHENTIC_FORMAT=default ; rm -rf /opt/sparrow/sparrowdo-cache && mkdir -m 777 -p /opt/sparrow/sparrowdo-cache'"
Connection to 127.0.0.1 closed.
ssh -o ConnectionAttempts=1 -o ConnectTimeout=5 -F /tmp/ssh_config -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -tt vagrant "sudo sh -c 'export LC_ALL=C ; export GIT_PROTOCOL=https ; export PERL_USE_UNSAFE_INC=1 ; export PATH=/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/local/b
[spigell@hammerhead dev-rakudo-install]$ sparrowdo --ssh_port=4445 --ssh_user=vagrant --ssh_private_key=../.vagrant/machines/archlinux/virtualbox/private_key --sparrowfile=./examples/test.pl6
running sparrow tasks on 127.0.0.1 ...
target OS is - archlinux
push dev-rakudo-install https://github.com/melezhik/rakudo-install into SPL - OK
push [task] install test Rakudo [plg] dev-rakudo-install OK
copied SPL file as /opt/sparrow/sparrow.list - OK
get index updates from SparrowHub ... OK
set up task box file - /home/spigell/.sparrowdo//opt/sparrow/task-box.json - OK
installing private@dev-rakudo-install ...
Already up to date.
[2017-10-03T03:19:32+03:00] WARN: No config file found or specified on command line, using command line options.
[2017-10-03T03:19:32+03:00] INFO: Auto-discovered chef repository at /vagrant
[2017-10-03T03:19:32+03:00] INFO: Started chef-zero at chefzero://localhost:1 with repository at /vagrant
One version per cookbook
[2017-10-03T03:19:32+03:00] INFO: Forking chef instance to converge...
Starting Chef Client, version 13.2.20
[2017-10-03T03:19:32+03:00] INFO: *** Chef 13.2.20 ***
[2017-10-03T03:19:32+03:00] INFO: Platform: x86_64-linux
[2017-10-03T03:19:32+03:00] INFO: Chef-client pid: 9663
[spigell@hammerhead ansible_lab]$ ssh [email protected] -p2222
Warning: Permanently added '[127.0.0.1]:2222' (ECDSA) to the list of known hosts.
[email protected]'s password:
[spigell@hammerhead ansible_lab]$ export SSHPASS=vagrant; sparrowdo --ssh_port=2222 --ssh_user=vagrant --verbose
sshpass -e ssh -o ConnectionAttempts=1 -o ConnectTimeout=5 [email protected] -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -tt -p 2222 [email protected] "sudo bash -c 'export LC_ALL=C ; export GIT_PROTOCOL=https ; export PERL_USE_UNSAFE_INC=1 ; export PATH=/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/local/bin:/usr/sbin/:/sbin/:/bin/$PATH ; export SPARROW_ROOT=/opt/sparrow ; export SPARROW_CONF_PATH=/opt/sparrow/sparrow-cache/sparrow.yaml ; export OUTTHENTIC_FORMAT=default ; rm -rf /opt/sparrow/sparrowdo-cache && mkdir -m 777 -p /opt/sparrow/sparrowdo-cache'"
Warning: Permanently added '[127.0.0.1]:2222' (ECDSA) to the list of known hosts.
bash: [email protected]: command not found
Connection to 127.0.0.1 cl
[spigell@hammerhead ~]$ time ~/.perl6/bin/sparrowdo --ssh_port=2222 --ssh_user=root --bootstrap
running sparrow bootstrap for host: 127.0.0.1 ...
bootstrap for archlinux
/usr/sbin/curl
installing cpanm ...
resolving dependencies...
looking for conflicting packages...
Packages (1) cpanminus-1.7043-2
[spigell@hammerhead ~]$ time ~/.perl6/bin/sparrowdo --ssh_port=2222 --ssh_user=root --bootstrap
running sparrow bootstrap for host: 127.0.0.1 ...
bootstrap for archlinux
/usr/sbin/curl
installing cpanm ...
:: Synchronizing package databases...
core is up to date
extra 1650.0 KiB 199K/s 00:08 [#############################] 100%
community 4.0 MiB 313K/s 00:13 [#############################] 100%
resolving dependencies...