Skip to content

Commit f00f3d4

Browse files
committed
Add Solaris support files
1 parent c4b3b1b commit f00f3d4

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

Vagrantfile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Vagrant.configure("2") do |config|
2+
config.vm.box = 'secretescapes/smartos-base64'
3+
config.vm.box_version = '1.0.0'
4+
config.vm.synced_folder './vagrant', '/usbkey/user_home/vagrant/vagrant',
5+
type: 'rsync',
6+
owner: 'vagrant', group: 'vagrant',
7+
disabled: false
8+
config.vm.synced_folder '.', '/usbkey/user_home/vagrant/ruby-libv8-node',
9+
type: 'rsync',
10+
rsync__exclude: ['.vagrant/', 'vagrant/', 'src/', 'pkg/', 'vendor/', 'Gemfile.lock', '*.so', '*.bundle', 'tmp/'],
11+
owner: 'vagrant', group: 'vagrant',
12+
disabled: false
13+
config.ssh.insert_key = false
14+
config.ssh.sudo_command = '/usr/bin/pfexec %c'
15+
config.solaris11.suexec_cmd = '/usr/bin/pfexec'
16+
config.solaris.suexec_cmd = '/usr/bin/pfexec'
17+
config.vm.provider 'virtualbox' do |v|
18+
v.customize ['modifyvm', :id, '--memory', 4096]
19+
v.customize ['modifyvm', :id, '--cpus', 2]
20+
end
21+
end
22+
23+

vagrant/provision-smartos.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
pfexec pkgin update
4+
pfexec pkgin -yV in clang gcc49 gcc7 git gmake patch ruby24
5+
pfexec gem install bundler -v '~> 2.1.4'
6+

0 commit comments

Comments
 (0)