This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: skeleton | |
# Required-Start: $remote_fs | |
# Required-Stop: $remote_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Example initscript | |
# Description: This file should be used to construct scripts to be | |
# placed in /etc/init.d. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#(line 252, voor vagrant 1.7.4) | |
def read_forwarded_ports(uuid=nil, active_only=false) | |
uuid ||= @uuid | |
@logger.debug("read_forward_ports: uuid=#{uuid} active_only=#{active_only}") | |
results = [] | |
current_nic = nil | |
# eat exceptions if showvminfo breaks |