lib/testlab/provisioners/nfs_mount.rb in testlab-1.20.6 vs lib/testlab/provisioners/nfs_mount.rb in testlab-1.21.0
- old
+ new
@@ -24,11 +24,11 @@
@ui.logger.debug { "config(#{@config.inspect})" }
end
# NFSMount: Container Provision
def on_container_provision(container)
- container.exec(%(sudo dpkg --status nfs-common || sudo apt-get -y install nfs-common))
+ container.exec(%(sudo dpkg --status nfs-common || sudo apt-get -qy install nfs-common))
add_nfs_mounts(container)
container_mount(container)
true
@@ -120,10 +120,10 @@
def service_check
case RUBY_PLATFORM
when /darwin/ then
%(#{sudo} nfsd enable)
when /linux/ then
- %((#{sudo} dpkg --status nfs-kernel-server || #{sudo} apt-get -y install nfs-kernel-server) && #{sudo} service nfs-kernel-server start)
+ %((#{sudo} dpkg --status nfs-kernel-server || #{sudo} apt-get -qy install nfs-kernel-server) && #{sudo} service nfs-kernel-server start)
end
end
# NFS Exports Start Definition Tag
def def_tag(container)