This repository has been archived by the owner on May 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from AkihiroSuda/dev
support bridged mode
- Loading branch information
Showing
9 changed files
with
180 additions
and
15 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>Label</key> | ||
<string>io.github.AkihiroSuda.vde_vmnet.bridged.en0.plist</string> | ||
<key>Program</key> | ||
<string>/usr/local/bin/vde_vmnet</string> | ||
<key>ProgramArguments</key> | ||
<array> | ||
<string>/usr/local/bin/vde_vmnet</string> | ||
<string>--vmnet-mode=bridged</string> | ||
<string>--vmnet-interface=en0</string> | ||
<string>/var/run/vde.bridged.en0.ctl</string> | ||
</array> | ||
<key>StandardErrorPath</key> | ||
<string>/var/run/vde_vmnet.bridged.en0.stderr</string> | ||
<key>StandardOutPath</key> | ||
<string>/var/run/vde_vmnet.bridged.en0.stdout</string> | ||
<key>RunAtLoad</key> | ||
<true /> | ||
<key>UserName</key> | ||
<string>root</string> | ||
<key>KeepAlive</key> | ||
<dict> | ||
<key>PathState</key> | ||
<dict> | ||
<key>/var/run/vde.bridged.en0.pid</key> | ||
<true /> | ||
</dict> | ||
</dict> | ||
</dict> | ||
</plist> |
33 changes: 33 additions & 0 deletions
33
launchd/io.github.virtualsquare.vde-2.vde_switch.bridged.en0.plist
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<!-- vde_switch itself is maintained at github.com/virtualsquare/vde-2 , but this plist file is maintained at github.com/AkihiroSuda/vde_vmnet --> | ||
<key>Label</key> | ||
<string>io.github.virtualsquare.vde-2.vde_switch.bridged.en0.plist</string> | ||
<key>Program</key> | ||
<string>/usr/local/bin/vde_switch</string> | ||
<key>ProgramArguments</key> | ||
<array> | ||
<string>/usr/local/bin/vde_switch</string> | ||
<string>--sock</string> | ||
<string>/var/run/vde.bridged.en0.ctl</string> | ||
<string>--pidfile</string> | ||
<string>/var/run/vde.bridged.en0.pid</string> | ||
<string>--group</string> | ||
<string>staff</string> | ||
<string>--dirmode</string> | ||
<string>0770</string> | ||
</array> | ||
<key>StandardErrorPath</key> | ||
<string>/var/run/vde.bridged.en0.stderr</string> | ||
<key>StandardOutPath</key> | ||
<string>/var/run/vde.bridged.en0.stdout</string> | ||
<key>RunAtLoad</key> | ||
<true /> | ||
<key>UserName</key> | ||
<string>daemon</string> | ||
<key>GroupName</key> | ||
<string>staff</string> | ||
</dict> | ||
</plist> |
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
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