Repository Analysis

hashicorp/vagrant

Vagrant is a tool for building and distributing development environments.

5.8 Low AI signal View on GitHub
5.8
Adjusted Score
5.8
Raw Score
100%
Time Factor
2026-05-30
Last Push
27,140
Stars
Ruby
Language
191,362
Lines of Code
1564
Files
590
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 2HIGH 3MEDIUM 213LOW 372

Pattern Findings

590 matches across 9 categories. Click a row to expand file-level details.

Self-Referential Comments168 hits · 514 pts
SeverityFileLineSnippet
MEDIUM.ci/.ci-utility-files/common.sh773# Create a GPG signature. This uses signore to generate a
MEDIUM.ci/.ci-utility-files/common.sh1371 # Create a temporary directory to work from
MEDIUM.ci/.ci-utility-files/common.sh1947 # Create the prerelease
MEDIUM.ci/.ci-utility-files/common.sh2058 # Create the draft release
MEDIUM.ci/.ci-utility-files/common.sh2071# Create a GitHub release
MEDIUM.ci/.ci-utility-files/common.sh2174 # Create the draft release
MEDIUM.ci/.ci-utility-files/common.sh2438# This function is identical to the github_draft_release_assets
MEDIUM.ci/.ci-utility-files/common.sh2926# This function is used to make requests to the GitHub API. It
MEDIUM.ci/.ci-utility-files/common.sh2958 # Define the status here since we will set it in
MEDIUMtest/unit/base.rb35# Create a temporary directory where test vagrant will run. The reason we save
MEDIUMtest/unit/plugins/commands/init/command_test.rb89 # Create an existing Vagrantfile
MEDIUMtest/unit/plugins/commands/init/command_test.rb98 # Create an existing Vagrantfile
MEDIUMtest/unit/vagrant/box_collection_test.rb156 # Create a few boxes, immediately destroy them
MEDIUMtest/unit/vagrant/box_collection_test.rb173 # Create a few boxes, immediately destroy them
MEDIUMtest/unit/vagrant/box_collection_test.rb193 # Create a few boxes, immediately destroy them
MEDIUMtest/unit/vagrant/box_collection_test.rb412 # Create a V1 box.
MEDIUMtest/unit/vagrant/box_collection_test.rb427 # Create the box we're adding
MEDIUMtest/unit/vagrant/box_collection_test.rb470 # Create a VirtualBox box file
MEDIUMtest/unit/vagrant/machine_test.rb41 # Create the Vagrant::Environment instance
MEDIUMtest/unit/vagrant/environment_test.rb323 # Create a provider
MEDIUMtest/unit/vagrant/environment_test.rb326 # Create the configuration
MEDIUMtest/unit/vagrant/environment_test.rb348 # Create a provider
MEDIUMtest/unit/vagrant/environment_test.rb355 # Create the configuration
MEDIUMtest/unit/vagrant/environment_test.rb381 # Create a provider
MEDIUMtest/unit/vagrant/environment_test.rb385 # Create the configuration
MEDIUMtest/unit/vagrant/environment_test.rb600 # Create a provider
MEDIUMtest/unit/vagrant/environment_test.rb603 # Create the configuration
MEDIUMtest/unit/vagrant/environment_test.rb1397 # Create a custom UI for our test
MEDIUMtest/unit/vagrant/environment_test.rb1414 # Create the config
MEDIUMtest/unit/vagrant/environment_test.rb1427 # Create the config
MEDIUMtest/unit/vagrant/config/loader_test.rb111 # Create the finalize method on our loader
MEDIUMtest/unit/vagrant/config/v1/loader_test.rb69 # Create the proc we're testing
MEDIUMtest/unit/vagrant/config/v1/loader_test.rb91 # Create the proc we're testing
MEDIUMtest/unit/vagrant/config/v2/loader_test.rb38 # Create the proc we're testing
MEDIUMtest/unit/vagrant/config/v2/loader_test.rb60 # Create the proc we're testing
MEDIUMtest/unit/vagrant/config/v2/loader_test.rb128 # Create the old V1 class that will be upgraded
MEDIUMtest/unit/vagrant/config/v2/loader_test.rb139 # Create the new V2 plugin it is writing to
MEDIUMtest/unit/vagrant/action/builder_test.rb20 # Define a to_s on it for helpful output
MEDIUMtest/unit/vagrant/action/builder_test.rb117 # Create the proc then make sure it has a name
MEDIUMtest/unit/support/isolated_environment.rb44 # Create the box directory
MEDIUMtest/unit/support/isolated_environment.rb59 # Create an alias because "box" makes a V1 box, so "box1"
MEDIUMtest/unit/support/isolated_environment.rb77 # Create a metadata.json file
MEDIUMtest/unit/support/isolated_environment.rb85 # Create a Vagrantfile
MEDIUMtest/unit/support/isolated_environment.rb107 # Create the directory for the box
MEDIUMtest/unit/support/isolated_environment.rb111 # Create the metadata.json for it
MEDIUMtest/unit/support/isolated_environment.rb119 # Create a Vagrantfile
MEDIUMtest/unit/support/isolated_environment.rb127 # Create the metadata URL
MEDIUMtest/unit/support/isolated_environment.rb141 # Create a temporary directory to store our data we will tar up
MEDIUMtest/unit/support/isolated_environment.rb186 # Create a temporary directory to store our data we will tar up
MEDIUMtest/unit/support/shared/base_context.rb17 # Create a thing to store our temporary files so that they aren't
MEDIUMtest/unit/support/shared/base_context.rb84 # Create a temporary directory and append it to the instance
MEDIUMtest/support/isolated_environment.rb33 # Create a temporary directory for our work
MEDIUMplugins/synced_folders/rsync/default_unix_cap.rb8 # This module provides default rsync capabilities for
MEDIUMplugins/synced_folders/rsync/helper.rb94 # Create the path for the control sockets. We used to do this
MEDIUMplugins/synced_folders/rsync/command/rsync_auto.rb163 # Create the callback that lets us know when we've been interrupted
MEDIUMplugins/kernel_v2/config/push.rb80 # Define a new push in the Vagrantfile with the given name.
MEDIUMplugins/kernel_v2/config/vm.rb312 # Define a way to access the machine via a network. This exposes a
MEDIUMplugins/kernel_v2/config/vm.rb1014 # Create a helper that will with the synced folders mixin
MEDIUMplugins/pushes/ftp/adapter.rb78 # Create the parent directories if they does not exist (naive mkdir -p)
MEDIUMplugins/providers/docker/provider.rb95 # Create the env to manage this machine
108 more matches not shown…
Over-Commented Block236 hits · 233 pts
SeverityFileLineSnippet
LOW.ci/.ci-utility-files/common.sh101
LOW.ci/.ci-utility-files/common.sh121# through directly
LOW.ci/.ci-utility-files/common.sh1441
LOW.ci/.ci-utility-files/common.sh2061 failure "Failed to create draft release on %s" "${repo_owner}/${draft_repo}"
LOW.ci/.ci-utility-files/common.sh2881
LOW.ci/.ci-utility-files/common.sh2921 # Still here, then we send back that hashibot token
LOWtest/unit/plugins/pushes/ftp/push_test.rb321 #{dir}/.hidden.rb
LOWtest/unit/plugins/pushes/atlas/push_test.rb41 # end
LOWtest/unit/plugins/pushes/atlas/push_test.rb61
LOWtest/unit/plugins/pushes/atlas/push_test.rb81
LOWtest/unit/plugins/pushes/atlas/push_test.rb101 # with("foo", "-vcs", "-token", "atlas_token", app, env.root_path.to_s)
LOWtest/unit/plugins/pushes/atlas/push_test.rb121 # with("foo", "-vcs", "-metadata", "box=hashicorp/precise64",
LOWtest/unit/plugins/pushes/atlas/push_test.rb141 # config.uploader_path = "foo"
LOWtest/unit/plugins/pushes/atlas/push_test.rb161 # bin_path.open("w+") { |f| f.write("hi") }
LOWtest/unit/plugins/pushes/atlas/push_test.rb181 # expect(subject.uploader_path).to be_nil
LOWtest/config/acceptance_boxes.yml1# Copyright IBM Corp. 2010, 2025
LOWplugins/synced_folders/nfs/plugin.rb1# Copyright IBM Corp. 2010, 2025
LOWplugins/kernel_v2/config/trigger.rb21
LOWplugins/kernel_v2/config/push.rb81 #
LOWplugins/kernel_v2/config/vm_trigger.rb21
LOWplugins/kernel_v2/config/vm_trigger.rb41 # @return [String]
LOWplugins/kernel_v2/config/vm_trigger.rb61 #
LOWplugins/kernel_v2/config/vm_trigger.rb81 # Can also be configured to have a custom exit code
LOWplugins/kernel_v2/config/vm.rb261 end
LOWplugins/kernel_v2/config/cloud_init.rb21
LOWplugins/kernel_v2/config/vm_provisioner.rb21 # Internal unique name for this provisioner
LOWplugins/kernel_v2/config/vm_provisioner.rb41 # When to run this provisioner. Either "once", "always", or "never"
LOWplugins/kernel_v2/config/disk.rb21 #
LOWplugins/kernel_v2/config/disk.rb41
LOWplugins/pushes/ftp/config.rb21 attr_accessor :passive
LOWplugins/pushes/heroku/config.rb1# Copyright IBM Corp. 2010, 2025
LOWplugins/pushes/atlas/config.rb1# Copyright IBM Corp. 2010, 2025
LOWplugins/pushes/atlas/config.rb21 # user confirmation) if it doesn't already exist.
LOWplugins/pushes/atlas/config.rb41 # @return [Array<String>]
LOWplugins/providers/docker/config.rb21 # should be set.
LOWplugins/providers/docker/config.rb41 #
LOWplugins/providers/docker/config.rb61
LOWplugins/providers/docker/config.rb81 attr_accessor :host_vm_build_dir_options
LOWplugins/providers/docker/config.rb101 # The time to wait before sending a SIGTERM to the container
LOWplugins/providers/docker/config.rb121 #
LOWplugins/providers/docker/config.rb141 #
LOWplugins/providers/docker/action/prepare_networks.rb261 end
LOWplugins/providers/hyperv/driver.rb161
LOWplugins/providers/hyperv/driver.rb201
LOWplugins/providers/hyperv/driver.rb221 # @return [nil]
LOWplugins/providers/hyperv/driver.rb241
LOWplugins/providers/virtualbox/config.rb1# Copyright IBM Corp. 2010, 2025
LOWplugins/providers/virtualbox/config.rb21 #
LOWplugins/providers/virtualbox/config.rb41 #
LOWplugins/providers/virtualbox/driver/base.rb141 # hostonly: "vboxnet0",
LOWplugins/providers/virtualbox/driver/base.rb161
LOWplugins/providers/virtualbox/driver/base.rb181 # protocol: "tcp"
LOWplugins/providers/virtualbox/driver/base.rb201 end
LOWplugins/providers/virtualbox/driver/base.rb221 def read_bridged_interfaces
LOWplugins/providers/virtualbox/driver/base.rb241 #
LOWplugins/providers/virtualbox/driver/base.rb261 # :netmask => String, # netmask associated with the interface, e.g. "255.255.255.0"
LOWplugins/providers/virtualbox/driver/base.rb301 # Returns a list of all UUIDs of virtual machines currently
LOWplugins/providers/virtualbox/driver/base.rb361
LOWplugins/providers/virtualbox/driver/meta.rb161 :verify!,
LOWplugins/providers/virtualbox/driver/version_5_0.rb21
176 more matches not shown…
Decorative Section Separators44 hits · 141 pts
SeverityFileLineSnippet
MEDIUMplugins/kernel_v2/config/trigger.rb22 #-------------------------------------------------------------------
MEDIUMplugins/kernel_v2/config/trigger.rb24 #-------------------------------------------------------------------
MEDIUMplugins/kernel_v2/config/trigger.rb99 #-------------------------------------------------------------------
MEDIUMplugins/kernel_v2/config/trigger.rb101 #-------------------------------------------------------------------
MEDIUMplugins/kernel_v2/config/vm_trigger.rb18 #-------------------------------------------------------------------
MEDIUMplugins/kernel_v2/config/vm_trigger.rb20 #-------------------------------------------------------------------
MEDIUMplugins/kernel_v2/config/vm.rb505 #-------------------------------------------------------------------
MEDIUMplugins/kernel_v2/config/vm.rb507 #-------------------------------------------------------------------
MEDIUMplugins/kernel_v2/config/cloud_init.rb10 #-------------------------------------------------------------------
MEDIUMplugins/kernel_v2/config/cloud_init.rb12 #-------------------------------------------------------------------
MEDIUMplugins/kernel_v2/config/disk.rb12 #-------------------------------------------------------------------
MEDIUMplugins/kernel_v2/config/disk.rb14 #-------------------------------------------------------------------
MEDIUMplugins/providers/docker/communicator.rb22 #-------------------------------------------------------------------
MEDIUMplugins/providers/docker/communicator.rb24 #-------------------------------------------------------------------
MEDIUMplugins/providers/docker/communicator.rb137 #-------------------------------------------------------------------
MEDIUMplugins/providers/docker/communicator.rb139 #-------------------------------------------------------------------
MEDIUMplugins/providers/docker/config.rb129 #--------------------------------------------------------------
MEDIUMplugins/providers/docker/config.rb131 #--------------------------------------------------------------
MEDIUMplugins/providers/docker/config.rb353 #--------------------------------------------------------------
MEDIUMplugins/providers/docker/config.rb355 #--------------------------------------------------------------
MEDIUMplugins/providers/virtualbox/action/network.rb475 #-----------------------------------------------------------------
MEDIUMplugins/providers/virtualbox/action/network.rb477 #-----------------------------------------------------------------
MEDIUMplugins/providers/virtualbox/action/network.rb511 #-----------------------------------------------------------------
MEDIUMplugins/providers/virtualbox/action/network.rb513 #-----------------------------------------------------------------
MEDIUMplugins/providers/virtualbox/action/network.rb576 #-----------------------------------------------------------------
MEDIUMplugins/providers/virtualbox/action/network.rb578 #-----------------------------------------------------------------
MEDIUMplugins/providers/virtualbox/action/forward_ports.rb14 #--------------------------------------------------------------
MEDIUMplugins/providers/virtualbox/action/forward_ports.rb16 #--------------------------------------------------------------
MEDIUMplugins/provisioners/chef/config/chef_solo.rb64 #------------------------------------------------------------
MEDIUMplugins/provisioners/chef/config/chef_solo.rb66 #------------------------------------------------------------
MEDIUMlib/vagrant/environment.rb836 #---------------------------------------------------------------
MEDIUMlib/vagrant/environment.rb838 #---------------------------------------------------------------
MEDIUMlib/vagrant/plugin/v2/trigger.rb113 #-------------------------------------------------------------------
MEDIUMlib/vagrant/plugin/v2/trigger.rb115 #-------------------------------------------------------------------
MEDIUMtemplates/locales/en.yml476#-------------------------------------------------------------------------------
MEDIUMtemplates/locales/en.yml478#-------------------------------------------------------------------------------
MEDIUMtemplates/locales/en.yml2046#-------------------------------------------------------------------------------
MEDIUMtemplates/locales/en.yml2048#-------------------------------------------------------------------------------
MEDIUMtemplates/locales/en.yml2257#-------------------------------------------------------------------------------
MEDIUMtemplates/locales/en.yml2259#-------------------------------------------------------------------------------
MEDIUMtemplates/locales/en.yml2265#-------------------------------------------------------------------------------
MEDIUMtemplates/locales/en.yml2267#-------------------------------------------------------------------------------
MEDIUMtemplates/locales/en.yml2456#-------------------------------------------------------------------------------
MEDIUMtemplates/locales/en.yml2458#-------------------------------------------------------------------------------
Redundant / Tautological Comments73 hits · 108 pts
SeverityFileLineSnippet
LOW.ci/.ci-utility-files/common.sh141 # Check if a role has already been assumed. If it
LOW.ci/.ci-utility-files/common.sh667 # Set 50M to be a largish file
LOW.ci/.ci-utility-files/common.sh928# Check if version string is valid for release
LOW.ci/.ci-utility-files/common.sh1153# Check if a release for the given version
LOW.ci/.ci-utility-files/common.sh1263# Check if gem version is already published to RubyGems
LOW.ci/.ci-utility-files/common.sh1308# Check if gem version is already published to hashigems
LOW.ci/.ci-utility-files/common.sh2167 # Set repository to get correct token behavior on request
LOW.ci/.ci-utility-files/common.sh2199# Check if a github release exists by tag name
LOW.ci/.ci-utility-files/common.sh2237# Check if a github release exists using fuzzy match
LOW.ci/.ci-utility-files/common.sh2303# Check if a draft release exists by name
LOW.ci/.ci-utility-files/common.sh2962 # Check if our response content starts with the info prefix.
LOW.ci/.ci-utility-files/common.sh3180 # Iterate through the list
LOW.ci/.ci-utility-files/common.sh3213 # Check if the issue is old enough to be locked
LOW.ci/.ci-utility-files/common.sh3394# Check if we are running a job created by a tag. If so,
LOWplugins/synced_folders/rsync/helper.rb246 # Check if rsync versions support using chown option
LOWplugins/synced_folders/smb/synced_folder.rb85 # Check if this host can start and SMB service
LOWplugins/kernel_v2/config/vm.rb445 # Add the name to the array of VM keys. This array is used to
LOWplugins/kernel_v2/config/vm.rb937 # Check if there is more than one primary disk defined and throw an error
LOWplugins/pushes/ftp/config.rb110 # Add the filepath to the list of includes
LOWplugins/pushes/ftp/config.rb117 # Add the filepath to the list of excludes
LOWplugins/pushes/heroku/push.rb28 # Check if we need to add the git remote
LOWplugins/pushes/heroku/push.rb94 # Check if the git remote has the given remote.
LOWplugins/pushes/atlas/config.rb115 # Add the filepath to the list of includes
LOWplugins/pushes/atlas/config.rb122 # Add the filepath to the list of excludes
LOWplugins/providers/docker/driver.rb60 # Check if podman emulating docker CLI is enabled.
LOWplugins/providers/docker/action/prepare_networks.rb210 # Check if network already exists for this subnet
LOW…ns/providers/virtualbox/action/set_default_nic_type.rb38 # Check if VirtualBox E1000 implementation is vulnerable
LOWplugins/provisioners/chef/cap/omnios/chef_installed.rb10 # Check if Chef is installed at the given version.
LOWplugins/provisioners/chef/cap/freebsd/chef_installed.rb9 # Check if Chef is installed at the given version.
LOWplugins/provisioners/chef/cap/linux/chef_installed.rb9 # Check if Chef is installed at the given version.
LOWplugins/provisioners/chef/cap/windows/chef_installed.rb9 # Check if Chef is installed at the given version.
LOWplugins/provisioners/ansible/provisioner/base.rb283 # Verify if host range patterns exist and warn
LOWplugins/provisioners/ansible/provisioner/guest.rb66 # Check if requested ansible version is available
LOW…visioners/ansible/cap/guest/posix/ansible_installed.rb11 # Check if Ansible is installed (at the given version).
LOWplugins/commands/provider/command.rb50 # Check if we're just doing a usability check
LOWplugins/commands/provider/command.rb57 # Check if we're requesting installation
LOWplugins/commands/rdp/command.rb32 # Check if the host even supports RDP
LOWplugins/commands/powershell/command.rb73 # Check if the host even supports ps remoting
LOWplugins/commands/up/command.rb142 # Check if we have this machine in the index
LOWplugins/commands/cloud/publish.rb90 # Display output to user describing action to be taken
LOWplugins/commands/cloud/plugin.rb36 # Set this to match Vagant logging level so we get
LOWplugins/hosts/bsd/cap/nfs.rb122 # Check if nfsd is running, and update or restart depending on the result
LOWplugins/hosts/darwin/cap/smb.rb16 # Check if the required SMB services are loaded and enabled. If they are
LOWplugins/hosts/windows/cap/smb.rb83 # Check if this name is already in use
LOWplugins/communicators/winrm/plugin.rb39 # Check if vagrant-winrm plugin is installed and
LOWplugins/communicators/ssh/communicator.rb827 # Check if server supports given key type
LOWplugins/guests/darwin/cap/mount_vmware_shared_folder.rb79 # Check if the line is already defined. If so, bail since we are done
LOWplugins/guests/darwin/cap/mount_vmware_shared_folder.rb108 # Check if firmlink is provided by the system
LOWplugins/guests/windows/cap/public_key.rb49 # Check if an authorized_keys file already exists
LOWplugins/guests/redhat/cap/configure_networks.rb43 # Check if NetworkManager is installed on the system
LOWplugins/guests/alt/cap/configure_networks.rb23 # Check if NetworkManager is installed on the system
LOWlib/vagrant/environment.rb670 # Return the result
LOWlib/vagrant/environment.rb1022 # Check if defined plugins are installed
LOWlib/vagrant/batch_action.rb170 # Check if any threads set an exit code and exit if found. If
LOWlib/vagrant/vagrantfile.rb182 # Check if this machine has a local box metadata file
LOWlib/vagrant/box.rb210 # Check if a box update check is allowed. Uses a file
LOWlib/vagrant/util/directory.rb9 # Check if directory has any new updates
LOWlib/vagrant/util/guest_inspection.rb37 # Check if a unit file with the given name is defined. Name can
LOWlib/vagrant/util/guest_inspection.rb47 # Check if a unit is currently active within systemd
LOWlib/vagrant/util/guest_inspection.rb56 # Check if given service is controlled by systemd
13 more matches not shown…
AI Slop Vocabulary27 hits · 41 pts
SeverityFileLineSnippet
LOW.ci/.ci-utility-files/common.sh120# provided, it will just pass the command
LOW.ci/.ci-utility-files/common.sh136 # configured. If it is not, just pass through.
LOW.ci/.ci-utility-files/common.sh2624 # so we can just return success
MEDIUM…st/unit/plugins/communicators/ssh/communicator_test.rb1168 # can be checked. To facilitate this, set it to a non-nil value
LOWtest/unit/vagrant/plugin/manager_test.rb425 # We just add "i18n" because it is a dependency of Vagrant and
LOWplugins/providers/docker/action.rb15 # We just call the "up" action. We create a separate action
LOWplugins/providers/docker/action/prepare_networks.rb161 # and instead just use the built-in `.prefix` method
LOWplugins/providers/docker/action/prepare_networks.rb271 # and instead just use the built-in `.prefix` method
LOWplugins/providers/docker/action/wait_for_running.rb28 # If we're not waiting, just return
LOWplugins/providers/virtualbox/driver/base.rb488 # If already set, just return immediately
LOWplugins/providers/virtualbox/action/import.rb88 # If we're not supposed to destroy on error then just return
LOWplugins/commands/plugin/gem_helper.rb75 # some other configuration state. We need to just set everything
LOWplugins/commands/cap/command.rb69 # If we're just checking, then just return exit codes
LOWplugins/commands/ssh/command.rb72 # is to exec into the proper SSH shell, but we'll just return
LOWplugins/commands/cloud/util.rb37 # just return nil
LOWplugins/hosts/linux/cap/nfs.rb157 # just return folder, there are no duplicates
LOWplugins/communicators/ssh/communicator.rb169 # just return that we're ready (for Machine#guest).
LOWext/vagrant/vagrant_ssl/extconf.rb18 # If the header file isn't found, just create a dummy
LOWlib/vagrant/environment.rb264 # If the machine folder is not a directory then we just return
LOWlib/vagrant/environment.rb986 # if a provider cannot be determined just return nil
LOWlib/vagrant/box_metadata.rb202 # If the architecture value is set to nil, then just return
LOWlib/vagrant/util/safe_chdir.rb22 # If we already hold the lock, just create a new lock so we
LOWlib/vagrant/config/version_base.rb27 # will simply return the same object.
LOWlib/vagrant/plugin/v1/guest.rb41 # in a reasonable amount of time, this method should just return.
LOWlib/vagrant/action/builtin/box_add.rb97 # will just return the same URLs.
LOWlib/vagrant/action/builtin/box_add.rb336 # If we have only one provider in the metadata, just use that
LOWlib/vagrant/action/builtin/box_add.rb594 # The downloader was interrupted, so just return, because that
Hyper-Verbose Identifiers33 hits · 34 pts
SeverityFileLineSnippet
LOWtest/unit/plugins/provisioners/support/shared/config.rb4def get_provisioner_option_names(provisioner_class)
LOWplugins/synced_folders/unix_mount_helpers.rb97 def emit_upstart_notification(machine, guest_path)
LOWplugins/synced_folders/smb/synced_folder.rb182 def clean_folder_configuration(data)
LOWplugins/providers/docker/driver.rb370 def network_containing_address(address)
LOWplugins/providers/docker/action/connect_networks.rb25 def generate_connect_cli_arguments(options)
LOWplugins/providers/docker/action/prepare_networks.rb27 def generate_create_cli_arguments(options)
LOWplugins/providers/hyperv/driver.rb210 def set_vm_integration_services(config)
LOWplugins/providers/hyperv/driver.rb322 def set_enhanced_session_transport_type(transport_type)
LOWplugins/providers/virtualbox/synced_folder.rb144 def display_symlink_create_warning(env)
LOWplugins/providers/virtualbox/action/network.rb520 def hostonly_find_matching_network(config)
LOWplugins/providers/virtualbox/action/network.rb596 def create_dhcp_server_if_necessary(interface, config)
LOWplugins/providers/virtualbox/action/network.rb633 def find_matching_dhcp_server(interface)
LOWplugins/providers/virtualbox/action/network_fix_ipv6.rb72 def host_only_interface_names(env)
LOWplugins/provisioners/ansible/provisioner/base.rb235 def get_inventory_host_vars_string(machine_name)
LOWplugins/provisioners/ansible/provisioner/base.rb366 def ui_running_ansible_command(name, command)
LOWplugins/provisioners/ansible/provisioner/base.rb411 def set_gathered_ansible_version(stdout_output)
LOWplugins/provisioners/ansible/provisioner/base.rb426 def set_gathered_ansible_package_version(ansible_package, stdout_output)
LOWplugins/provisioners/ansible/provisioner/guest.rb113 def execute_ansible_command_on_guest(name, command)
LOWplugins/provisioners/ansible/provisioner/host.rb100 def execute_command_from_host(command)
LOWplugins/provisioners/ansible/provisioner/host.rb246 def get_inventory_ssh_machine(machine, ssh_info)
LOWplugins/provisioners/ansible/provisioner/host.rb255 def get_inventory_winrm_machine(machine, winrm_net_info)
LOWplugins/commands/cloud/provider/delete.rb62 def select_provider_architecture(account, org, box, version, provider)
LOWplugins/commands/cloud/client/client.rb229 def store_two_factor_information(two_factor)
LOWplugins/communicators/ssh/communicator.rb420 def generate_environment_export(env_key, env_value)
LOWplugins/guests/windows/guest_network.rb57 def configure_static_interface(nic_index, net_connection_id, ip, netmask)
LOWlib/vagrant/capability_host.rb119 def autodetect_capability_host(hosts, *args)
LOWlib/vagrant/util/guest_networks.rb11 def configure_network_manager(machine, networks, **opts)
LOWlib/vagrant/util/guest_hosts.rb19 def add_hostname_to_loopback_interface(comm, name, loop_bound=DEAFAULT_LOOPBACK_CHECK_LIMIT)
LOWlib/vagrant/patches/net-ssh.rb13 def vagrant_read_private_keyblob(type)
LOWlib/vagrant/plugin/v1/command.rb140 def split_main_and_subcommand(argv)
LOWlib/vagrant/plugin/v2/command.rb278 def split_main_and_subcommand(argv)
LOWlib/vagrant/action/builtin/mixin_synced_folders.rb16 def default_synced_folder_type(machine, plugins)
LOWlib/vagrant/action/builtin/mixin_provisioners.rb71 def sort_provisioner_instances(pvs)
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippet
CRITICALlib/vagrant/action/builtin/box_remove.rb99 architectures: box_info.values.first.values.first.sort.join(", ")
CRITICALlib/vagrant/action/builtin/box_remove.rb110 architectures: box_info.values.first.values.first.sort.join(", ")
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippet
HIGH…oners/ansible/cap/guest/ubuntu/ansible_install_test.rb0add-apt-repository ppa:ansible/ansible -y && \ apt-get update -y -qq && \ debian_frontend=noninteractive apt-get install
HIGH…oners/ansible/cap/guest/ubuntu/ansible_install_test.rb0add-apt-repository ppa:ansible/ansible -y && \ apt-get update -y -qq && \ debian_frontend=noninteractive apt-get install
HIGH…ovisioners/ansible/cap/guest/ubuntu/ansible_install.rb0add-apt-repository ppa:ansible/ansible -y && \ apt-get update -y -qq && \ debian_frontend=noninteractive apt-get install
Slop Phrases4 hits · 6 pts
SeverityFileLineSnippet
LOWlib/vagrant/ui.rb389 # Otherwise, make sure to prefix every line properly
LOWlib/vagrant/ui.rb444 # Color the message and make sure to reset the color at the end
LOWlib/vagrant/machine_index.rb299 # so make sure to lock around it.
LOWlib/vagrant/action/builtin/synced_folders.rb42 # Go through each folder and make sure to create it if