vagrant-alpine icon indicating copy to clipboard operation
vagrant-alpine copied to clipboard

alpine 3.5 support: small mod needed

Open raarts opened this issue 7 years ago • 1 comments

Hi,

I create a vagrant box for alpine 3.5 using your template, found that two more lines are needed, nfs_client.rb needs to look like this:

            comm.sudo('apk update')
            comm.sudo('apk add --upgrade nfs-utils')
            comm.sudo('rc-update add rpcbind')
            comm.sudo('rc-service rpcbind start')
            comm.sudo('rc-update add rpc.statd')
            comm.sudo('rc-service rpc.statd start')

so two lines for rpcbind needed to be added.My first exposure to Ruby, but this worked. Could not find out how to detect alpine version number to make this only apply to alpine 3.5, but anyway.

Thanks for this plugin and the boxes.

raarts avatar Mar 26 '17 19:03 raarts

I can't seem to recreate the issue. When I vagrant up an alpine 3.5 box it installs the NFS client as usual and rpcbind is started as part of rpc.statd. I've never had to start it separately or add it as a service. What box are you using in your vagrantfile?

maier avatar May 02 '17 22:05 maier