lib/vagrant-alpine/cap/nfs_client.rb in vagrant-alpine-0.1.3 vs lib/vagrant-alpine/cap/nfs_client.rb in vagrant-alpine-0.2.0
- old
+ new
@@ -2,10 +2,11 @@
module GuestAlpine
module Cap
class NFSClient
def self.nfs_client_install(machine)
machine.communicate.tap do |comm|
- comm.sudo('apk add nfs-utils')
+ comm.sudo('apk update')
+ comm.sudo('apk add --upgrade nfs-utils')
comm.sudo('rc-update add rpc.statd')
comm.sudo('rc-service rpc.statd start')
end
end
end