Skip to content

Commit

Permalink
Fix sed command
Browse files Browse the repository at this point in the history
  • Loading branch information
svpernova09 committed Jun 30, 2019
1 parent b88c794 commit 07c4212
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/link-to-bento.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/bin/ln -f http/preseed.cfg ../bento/packer_templates/ubuntu/http
/bin/ln -f http/preseed-hyperv.cfg ../bento/packer_templates/ubuntu/http

sed -i -e 's/scripts\/cleanup.sh/scripts\/homestead.sh/' ../bento/packer_templates/ubuntu/ubuntu-18.04-amd64.json
sed -i -e 's/"cpus": "1"/"cpus": "4"/' ../bento/packer_templates/ubuntu/ubuntu-18.04-amd64.json
sed -i -e 's/"memory": "1024"/"memory": "4096"/' ../bento/packer_templates/ubuntu/ubuntu-18.04-amd64.json
sed -i -e 's/"disk_size": "65536"/"disk_size": "131072"/' ../bento/packer_templates/ubuntu/ubuntu-18.04-amd64.json
sed -i '' 's/scripts\/cleanup.sh/scripts\/homestead.sh/' ../bento/packer_templates/ubuntu/ubuntu-18.04-amd64.json
sed -i '' 's/"cpus": "1"/"cpus": "4"/' ../bento/packer_templates/ubuntu/ubuntu-18.04-amd64.json
sed -i '' 's/"memory": "1024"/"memory": "4096"/' ../bento/packer_templates/ubuntu/ubuntu-18.04-amd64.json
sed -i '' 's/"disk_size": "65536"/"disk_size": "131072"/' ../bento/packer_templates/ubuntu/ubuntu-18.04-amd64.json

0 comments on commit 07c4212

Please sign in to comment.