Sha256: abf367c45e6cc3f7e47be80e77c44797ee68a3295a530dd2957725e4aec4ad04

Contents?: true

Size: 240 Bytes

Versions: 1

Compression:

Stored size: 240 Bytes

Contents

require "vagrant"

module VagrantPlugins
  module GuestNixos
    class Guest < Vagrant.plugin("2", :guest)
      def detect?(machine)
        machine.communicate.test("test -f /run/current-system/nixos-version")
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-tiktalik-0.0.3 vendor/bundle/ruby/2.0.0/bundler/gems/vagrant-1e28f1ac31e7/plugins/guests/nixos/guest.rb