大网数据广告活动
服务器运维问答

How to create a vagrant box in a remote server

· 52CE 我爱测

I've been using vagrant since a few months to test server configurations (with ansible). At work we have some spare internal servers that I would like to use for our continuous integration system. Is there a way that just like yo…

问题原文

原帖链接 · gforcada · CC BY-SA 3.0

I've been using vagrant since a few months to test server configurations (with ansible).

At work we have some spare internal servers that I would like to use for our continuous integration system.

Is there a way that just like you can do vagrant up and you get a locally running virtualbox VM, you can do the same but creating that VM on a different server?

So far we are creating VMs on our servers via vmbuilder and I would like to replace it with something up-to-date, as I'm familiar with vagrant I would like to stick with for a while.

已采纳解答

原帖链接 · dawud · CC BY-SA 3.0

There is an old vagrant module for ansible in GitHub that might still work, but seems to be unmaintained. If you have interest enough in going this route, you might want to revamp it.

Other than that, you can still use the command module.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-06-15)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。