流浪者:Opentable/win-2012r2-standard-amd64-nocm似乎不适用于客人添加。

我一直在尝试让 opentable / win-2012r2-standard-amd64-nocm 盒子站起来,以便弄乱厨师,但不幸的是,它似乎不起作用。

我一直在尝试让 opentable / win-2012r2-standard-amd64-nocm 盒子站起来,以便弄乱厨师,但不幸的是,它似乎不起作用。

规格:

虚拟盒 v4.3.12

流浪 v1.6.2

OS Mac OSX v10.9.2

方法 1:尝试流浪opentable / win-2012r2-standard-amd64-nocm 框,以便与 Chef 混淆。
问题:它似乎不想安装流浪文件夹,因为它不喜欢当前安装的来宾插件。

Alexs-MacBook-Pro:chef-repo alex$ rant up
WARNING: Could not load IOV methods. Check your GSSAPI C library for an update
WARNING: Could not load AEAD methods. Check your GSSAPI C library for an update
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'opentable/win-2012r2-standard-amd64-nocm'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'opentable/win-2012r2-standard-amd64-nocm' is up to date...
==> default: Setting the name of the VM: chef-repo_default_1401127106312_6161
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Clearing any previously set network inteces...
==> default: Preparing network inteces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 5985 => 5985 (adapter 1)
    default: 80 => 8080 (adapter 1)
    default: 3389 => 3389 (adapter 1)
    default: 22 => 2200 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: No guest additions were detected on the base box for this VM! Guest
    default: additions are required for forwarded ports, shared folders, host only
    default: networking, and more. If SSH fails on this machine, please install
    default: the guest additions and repackage the box to continue.
    default: 
    default: This is not an error message; everything may continue to work properly,
    default: in which case you may ignore this message.
==> default: Mounting shared folders...
    default: /rant => /Users/alex/Documents/Code/GitHubEnterprise/ConfigurationFiles/chef/chef-repo
==> default: Running provisioner: shell... 

方式 2:尝试使用所需版本的来宾插件重新制作基本框 opentable / win-2012r2-standard-amd64-nocm。
问题:无法检测到机器的来宾操作系统

步骤:

流浪 init opentable / win-2012r2-standard-amd64-nocm

rant up

等待它加载到 GUI 模式

关闭 vm

添加 CD / DVD 设备并通过虚拟框 gui 将其保留为空

rant up

通过 virtual box 登录,安装 Guest Additions,重新启动服务器。

rant halt

使用虚拟盒 ui 删除来宾添加的 cd / dvd 驱动器。

流浪包--base {虚拟盒子中盒子的名称}

永远等待

流浪的盒子添加 package.box--name {放在 provider 中的盒子的名称}

永远等待

成交!!!

从这一点上,我试图流浪了我刚刚创建的框,它给了我这个错误:

Alex-MacBook-Pro:Alex_vs2012 Alex$ rant init Alex/win2012<br />
WARNING: Could not load IOV methods. Check your GSSAPI C library for an update<br />
WARNING: Could not load AEAD methods. Check your GSSAPI C library for an update<br />
A `Vagrantfile` has been placed in this directory. You are now<br />
ready to `rant up` your first virtual environment! Please read<br />
the comments in the Vagrantfile as well as documentation on<br />
`rantup.com` for more information on using Vagrant.<br />
Alex-MacBook-Pro:Alex_vs2012 alex$ rant up<br />
WARNING: Could not load IOV methods. Check your GSSAPI C library for an update<br />
WARNING: Could not load AEAD methods. Check your GSSAPI C library for an update<br />
Bringing machine 'default' up with 'virtualbox' provider...<br />
==> default: Importing base box 'Alex/win2012'...<br />
==> default: Matching MAC address for NAT networking...<br />
==> default: Setting the name of the VM: Alex_vs2012_default_1401126335265_42094<br />
==> default: Clearing any previously set network inteces...<br />
==> default: Preparing network inteces based on configuration...<br />
    default: Adapter 1: nat<br />
==> default: Forwarding ports...<br />
    default: 22 => 2222 (adapter 1)<br />
==> default: Booting VM...<br />
==> default: Waiting for machine to boot. This may take a few minutes...<br />
    default: SSH address: 127.0.0.1:2222<br />
    default: SSH username: rant<br />
    default: SSH auth method: private key<br />
    default: Warning: Connection timeout. Retrying...<br />
==> default: Machine booted and ready!<br />
==> default: Checking for guest additions in VM...<br />
    The guest operating system of the machine could not be detected!<br />
    Vagrant requires this knowledge to perform specific tasks such<br />
    as mounting shared folders and configuring networks. Please add<br />
    the ability to detect this guest operating system to Vagrant<br />
    by creating a plugin or reporting a bug.<br />

有人知道我做错了什么吗?我的目标只是让它在rant up操作期间安装文件夹,以便我可以使用 bootstrap.sh 文件引导 vm,并最终与厨师混在一起。

这是我的 Vagrantfile:

# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at rantup.com.
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "opentable/win-2012r2-standard-amd64-nocm"
config.vm.provision :shell, :path => "bootstrap.sh"
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.network "forwarded_port", guest: 3389, host: 3389
# Provider-specific configuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options.
# Example for VirtualBox:
#
config.vm.provider "virtualbox" do |vb|
#  # Don't boot with headless mode
vb.gui = true
#
#   # Use VBoxManage to customize the VM. For example to change memory:
#   vb.customize ["modifyvm", :id, "--memory", "1024"]
end
#
# View the documentation for the provider you're using for more
# information on available options.
# set auto_update to false, if you do NOT want to check the correct 
# additions version when booting this machine
config.vbguest.auto_update = false
# do NOT download the iso file from a webserver
config.vbguest.no_remote = true
end
5

我也有这样做的问题,但在我更新我的流浪版本到最新的(版本 1.7.2),并使用 Grim Wino Leader 的配置我成功了。

我按照方式 2 中的说明进行操作,在步骤 1 之后,我编辑了 Vagrantfile 并添加了

config.vm.guest = :windows

我使用:

Ubuntu 14.04.1 LTS(3.13.0-40 通用内核)

流浪 1.7.2(从 rantup.com 下载)

virtualbox-4.3 (4.3.20-96996~Ubuntu~raring)

1

没有那么多的答案作为一种解决方法。我也遇到了这个问题。

您可以添加:

config.vm.guest = :windows

到您的 Vagrantfile。如果我找到解决方案,将更新此

本站系公益性非盈利分享网址,本文来自用户投稿,不代表码文网立场,如若转载,请注明出处

(318)
AWSlambdarust-如何使函数返回外部闭包
上一篇
熊猫在没有标题的表中读取(pd.read csv no header)
下一篇

相关推荐

  • cvt和自动挡哪个好提升驾驶体验的最佳选择

    CVT(可变转换器)是一种由传动带及传动轮组成的无级变速器,它可以在没有传动档位的情况下,根据驾驶者的驾驶习惯,自动调整传动轮之间的转速比,从而实现无级变速。自动挡是指车辆自动变速箱,它使用液力传动来实现变速,可以自动适应车辆的行驶状态,减少司机的疲劳,提高行车的舒适性。…

    2023-06-08 07:42:19
    0 69 51
  • cv一叶扁舟和清影轩阳:漫游在一叶扁舟和清影轩阳之间

    cv一叶扁舟是一款开源的计算机视觉库,用于图像处理、计算机视觉等。它提供了丰富的API,可以帮助开发者快速实现各种图像处理任务,如图像分割、目标检测、图像识别等。清影轩阳是一款开源的计算机视觉框架,用于图像处理、目标检测、分类等。它提供了丰富的API,可以帮助开发者快速实现各种图像处理任务,如图像分割、目标检测、图像识别等。…

    2023-08-05 07:06:20
    0 43 21
  • css设置滚动条宽度设置:This is a title

    CSS设置滚动条宽度的方法:使用CSS3的。-webkit-属性:…

    2023-06-06 10:53:01
    0 38 23
  • xl和xe汽车cvt:探索XL和XE汽车的CVT技术优势

    XL和XE汽车CVT是一种变速器,它使用液力变矩器代替传统的机械变速器,以达到更高的效率。它的工作原理是,当发动机输出功率时,液力变矩器就会将这些功率转换为液压能量,然后将能量传递到变速器的输出轴上,从而实现变速。…

    2023-04-09 00:41:04
    0 35 54
  • cordon bleu是什么意思:法式炸鸡卷——Cordon Bleu的经典之作

    Cordon Bleu是一种烹饪技术,其中肉片被置于奶酪和火腿之间,然后用面包屑裹上,最后煎炸或烤熟。这种技术通常用于制作鸡肉,但也可以用于制作其他类型的肉类,如牛肉或猪肉。…

    2024-01-27 15:13:30
    0 22 41
  • countif 非空:非空单元格的计数

    Countif 非空是指计算某个单元格不为空的数量。代码如下:…

    2023-04-22 15:54:15
    0 82 24
  • java double保留一位小数:How to Round a Double to One Decimal Place in

    示例示例使用类可以轻松实现java double保留一位小数的功能,具体代码如下:// 创建对象…

    2023-05-14 07:40:03
    0 74 96
  • linux如何写c语言一个完整的指南

    示例示例在Linux系统中,可以使用C语言编写源代码文件,然后使用GCC编译器来编译源代码文件,生成可执行文件。下面是一个简单的C语言代码示例:…

    2023-05-16 02:02:45
    0 77 48

发表评论

登录 后才能评论

评论列表(24条)