在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:jbenet/ipfs-vbox开源软件地址:https://github.com/jbenet/ipfs-vbox开源编程语言:Shell 100.0%开源软件介绍:ipfs-vbox - boot VMs in virtual box with IPFSQuick shell script to assist booting VMs with VirtualBox from IPFS. Based on https://github.com/zignig/astralboot Installgit clone https://github.com/jbenet/ipfs-vbox
cd ipfs-vbox
cp ipfs-vbox /usr/local/bin/ipfs-vbox You should now have: > ipfs-vbox
usage: ipfs-vbox [ boot | rm ] <ipfs-path>
boot iso at <ipfs-path> Usage
ExampleFirst, get a vm image and add it to ipfs, like this:
(That o/ is a valid VM, so you should be able to test this script with it) Make sure you have VirtualBox installed:
Run the > ipfs daemon --mount
Initializing daemon...
API server listening on /ip4/127.0.0.1/tcp/5001
Gateway (readonly) server listening on /ip4/0.0.0.0/tcp/8080 Check the iso is there, in the mounted > stat /ipfs/QmRtavajASJyHcT4wVZkTS9s1XqtpFDW5jeUzGUzw6RPtb/ipfs.iso
771751942 17996664729543829149 -r--r--r-- 0 jbenet staff 0 27676672 "Aug 30 14:43:42 1754" "Aug 30 14:43:42 1754" "Aug 30 14:43:42 1754" "Aug 30 14:43:42 1754" 1048576 54056 0 /ipfs/QmRtavajASJyHcT4wVZkTS9s1XqtpFDW5jeUzGUzw6RPtb/ipfs.iso Now, boot it with this script!
You should see it boot like this: Remove the vm with:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论