我创建了两个aws ubuntu实例。一个将用作工作站,另一个用作节点。我已经引导了节点,它运行正常。当我输入<?xml version="1.0" encoding="utf-8" ?>
<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:ew="urn:schemas-microsoft-com:embedded.unattend.internal.v1">
<settings pass="specialize">
<component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<ComputerName>*</ComputerName>
<TimeZone>UTC</TimeZone>
</component>
<component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<InputLocale>0407:00000407</InputLocale>
<UILanguage>en-US</UILanguage>
<SystemLocale>en-US</SystemLocale>
<UserLocale>en-US</UserLocale>
<UILanguageFallback>de-DE</UILanguageFallback>
</component>
</settings>
<settings pass="oobeSystem">
<component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<OOBE>
<ProtectYourPC>3</ProtectYourPC>
<NetworkLocation>Work</NetworkLocation>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
</OOBE>
</component>
<component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Embedded-Core-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<HideEvaluationWarning>1</HideEvaluationWarning>
</component>
</settings>
<settings pass="windowsPE">
<component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<SetupUILanguage>
<UILanguage>en-US</UILanguage>
<WillShowUI>OnError</WillShowUI>
</SetupUILanguage>
<UserLocale>en-US</UserLocale>
<UILanguage>en-US</UILanguage>
<InputLocale>0407:00000407</InputLocale>
<SystemLocale>en-US</SystemLocale>
</component>
</settings>
</unattend>
时,它会显示我创建的节点。
创建配方apache后,每当我尝试在节点上执行knife node list
时,都会抛出错误。我无法纠正。这是错误:
答案 0 :(得分:1)
httpd
是RHEL样式系统上的包名称。在Debian风格的系统上,包名称为apache2
。学习教程并不能说明这一点。