berukou99

備忘録を

berukou99

備忘録を

最近の記事

go packer

yum install -y go export GOPATH=$HOME/go export PATH=$PATH:$GOPATH/bin mkdir $GOPATH  su -c 'rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm' yum install -y bzr rpm -ivy mercurial-3.4.1-0.x86_64.rpm rpm -

    • rakefile

      require 'rake' require 'rspec/core/rake_task' require 'json' def get_roles(source_file) roles = [] JSON.parse(File.read(source_file))['run_list'].each do |content| #print "==> DEBUG: Get content = #{content} \n" if /^role.*

      • 備忘録

        家で構築作業。以下にシェルをメモ(動作保証しません) === setup.sh === #!/bin/sh # Apply to CentOS 6.6 x86_64 Full Desktop VirtualBox VDI Virtual Computer,  # available by https://virtualboximages.com/ #  function print_title() { msg=${1} echo "======>" echo "===